mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-13 11:42:38 +03:00
LibWeb: Treat unimplemented grid-track-size syntax as "auto" for now
Note that there's a FIXME just above the previous case. That applies to this workaround as well.
This commit is contained in:
parent
55ad9591df
commit
c4050fe675
Notes:
sideshowbarker
2024-07-17 10:08:28 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/c4050fe675
@ -5325,6 +5325,10 @@ RefPtr<StyleValue> Parser::parse_grid_track_sizes(Vector<ComponentValue> const&
|
||||
params.append(Length::make_auto());
|
||||
continue;
|
||||
}
|
||||
if (component_value.is_block()) {
|
||||
params.append(Length::make_auto());
|
||||
continue;
|
||||
}
|
||||
if (component_value.is(Token::Type::Ident) && component_value.token().ident().equals_ignoring_case("auto"sv)) {
|
||||
params.append(Length::make_auto());
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user