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:
Andreas Kling 2022-09-14 11:30:52 +02:00
parent 55ad9591df
commit c4050fe675
Notes: sideshowbarker 2024-07-17 10:08:28 +09:00

View File

@ -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;