Skip to content

Commit

Permalink
LibWeb/Geometry: Resolve with master
Browse files Browse the repository at this point in the history
  • Loading branch information
tannerdrake-dev committed Dec 22, 2024
1 parent 769e790 commit a36b224
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Libraries/LibWeb/Geometry/DOMMatrixReadOnly.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@ WebIDL::ExceptionOr<ParsedMatrix> parse_dom_matrix_init_string(JS::Realm& realm,
auto transform_style_value = parse_css_value(CSS::Parser::ParsingContext {}, transform_list, CSS::PropertyID::Transform);
if (!transform_style_value || (transform_style_value->is_keyword() && transform_style_value->to_keyword() != CSS::Keyword::None))
return WebIDL::SyntaxError::create(realm, "Failed to parse CSS transform string."_string);
auto parsed_value = CSS::StyleProperties::transformations_for_style_value(*transform_style_value);
auto parsed_value = CSS::ComputedProperties::transformations_for_style_value(*transform_style_value);

// 3. If parsedValue is none, set parsedValue to a <transform-list> containing a single identity matrix.
// NOTE: parsed_value is empty on none so for loop in 6 won't modify matrix
Expand Down

0 comments on commit a36b224

Please sign in to comment.