mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-22 20:45:14 +00:00
LibWeb: Add missing check for frequency values
This commit is contained in:
parent
66b7da4fc7
commit
f1d7ea67c0
Notes:
sideshowbarker
2024-07-17 04:21:32 +09:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/SerenityOS/serenity/commit/f1d7ea67c0 Pull-request: https://github.com/SerenityOS/serenity/pull/21258
1 changed files with 1 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Reference in a new issue