mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-25 19:04:58 +00:00
LibWeb: Add missing check for frequency values
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user