LibWeb: Store parsed shorthands in canonical order

This commit is contained in:
Callum Law 2025-09-14 14:16:37 +12:00 committed by Tim Ledbetter
commit a6812e1005
Notes: github-actions[bot] 2025-09-15 14:25:37 +00:00
2 changed files with 5 additions and 5 deletions

View file

@ -848,7 +848,7 @@ Parser::ParseErrorOr<NonnullRefPtr<StyleValue const>> Parser::parse_css_value(Pr
auto stream = TokenStream { component_values };
HashMap<UnderlyingType<PropertyID>, Vector<ValueComparingNonnullRefPtr<StyleValue const>>> assigned_values;
OrderedHashMap<UnderlyingType<PropertyID>, Vector<ValueComparingNonnullRefPtr<StyleValue const>>> assigned_values;
while (stream.has_next_token() && !unassigned_properties.is_empty()) {
auto property_and_value = parse_css_value_for_properties(unassigned_properties, stream);