mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +02:00
LibWeb: Add DOMMatrix string constructor and set matrix value
This commit is contained in:
committed by
Andreas Kling
parent
903d3c92c8
commit
be7538961b
Notes:
sideshowbarker
2024-07-17 05:13:53 +09:00
Author: https://github.com/bplaat Commit: https://github.com/SerenityOS/serenity/commit/be7538961b Pull-request: https://github.com/SerenityOS/serenity/pull/22616 Reviewed-by: https://github.com/shannonbooth ✅ Reviewed-by: https://github.com/trflynn89
@@ -357,7 +357,7 @@ RefPtr<StyleValue const> ResolvedCSSStyleDeclaration::style_value_for_property(L
|
||||
VERIFY(layout_node.paintable());
|
||||
auto const& paintable_box = verify_cast<Painting::PaintableBox const>(*layout_node.paintable());
|
||||
for (auto transformation : transformations) {
|
||||
transform = transform * transformation.to_matrix(paintable_box);
|
||||
transform = transform * transformation.to_matrix(paintable_box).release_value();
|
||||
}
|
||||
|
||||
// https://drafts.csswg.org/css-transforms-1/#2d-matrix
|
||||
|
||||
Reference in New Issue
Block a user