mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-19 15:32:31 +00:00
LibWeb/CSS: Make empty GridTrackSize value serialize to "none"
This is the default value of the `grid-template-rows` and `grid-template-columns` properties.
This commit is contained in:
parent
9bdd22c6b1
commit
7b0b6e7493
Notes:
github-actions[bot]
2025-03-22 16:34:33 +00:00
Author: https://github.com/tcl3
Commit: 7b0b6e7493
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4040
13 changed files with 101 additions and 46 deletions
|
@ -245,7 +245,7 @@ GridTrackSizeList GridTrackSizeList::make_none()
|
|||
String GridTrackSizeList::to_string() const
|
||||
{
|
||||
if (m_list.is_empty())
|
||||
return "auto"_string;
|
||||
return "none"_string;
|
||||
|
||||
StringBuilder builder;
|
||||
for (auto const& line_definition_or_name : m_list) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue