mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:28:12 +00: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
1 changed files with 4 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue