mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02: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:
committed by
Alexander Kalenik
parent
9bdd22c6b1
commit
7b0b6e7493
Notes:
github-actions[bot]
2025-03-22 16:34:33 +00:00
Author: https://github.com/tcl3 Commit: https://github.com/LadybirdBrowser/ladybird/commit/7b0b6e7493e Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4040
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user