mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:28:12 +00:00
LibWeb: Remove ValueListStyleValue :^)
This was the whole point of this PR. No more dealing with ComponentValues in StyleResolver!
This commit is contained in:
parent
678760bd87
commit
afc434c416
4 changed files with 2 additions and 42 deletions
|
@ -2839,7 +2839,8 @@ RefPtr<StyleValue> Parser::parse_css_value(PropertyID property_id, TokenStream<S
|
|||
if (component_values.size() == 1)
|
||||
return parse_css_value(m_context, property_id, component_values.first());
|
||||
|
||||
return ValueListStyleValue::create(move(component_values));
|
||||
dbgln("Unable to parse value for CSS '{}' property.", string_from_property_id(property_id));
|
||||
return {};
|
||||
}
|
||||
|
||||
RefPtr<StyleValue> Parser::parse_css_value(ParsingContext const& context, PropertyID property_id, StyleComponentValueRule const& component_value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue