mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:58:11 +00:00
LibWeb: Add DOMMatrix string constructor and set matrix value
This commit is contained in:
parent
903d3c92c8
commit
be7538961b
15 changed files with 336 additions and 120 deletions
|
@ -300,7 +300,7 @@ Gfx::FloatMatrix4x4 StackingContext::combine_transformations(Vector<CSS::Transfo
|
|||
auto matrix = Gfx::FloatMatrix4x4::identity();
|
||||
if (paintable().is_paintable_box()) {
|
||||
for (auto const& transform : transformations)
|
||||
matrix = matrix * transform.to_matrix(paintable_box());
|
||||
matrix = matrix * transform.to_matrix(paintable_box()).release_value();
|
||||
|
||||
return matrix;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue