LibWeb: Add missing check for frequency values

This commit is contained in:
Sam Atkins 2023-09-28 14:18:54 +01:00 committed by Sam Atkins
parent 66b7da4fc7
commit f1d7ea67c0
Notes: sideshowbarker 2024-07-17 04:21:32 +09:00

View file

@ -6194,6 +6194,7 @@ Optional<Parser::PropertyAndValue> Parser::parse_css_value_for_properties(Readon
}
bool property_accepts_dimension = any_property_accepts_type(property_ids, ValueType::Angle).has_value()
|| any_property_accepts_type(property_ids, ValueType::Frequency).has_value()
|| any_property_accepts_type(property_ids, ValueType::Length).has_value()
|| any_property_accepts_type(property_ids, ValueType::Percentage).has_value()
|| any_property_accepts_type(property_ids, ValueType::Resolution).has_value()