summaryrefslogtreecommitdiff
path: root/Userland/Libraries
diff options
context:
space:
mode:
authorHendiadyoin1 <leon.a@serenityos.org>2022-10-01 01:47:02 +0200
committerLinus Groh <mail@linusgroh.de>2022-10-01 21:08:50 +0100
commite68309144b28759874f9fe615d2c0094c1791841 (patch)
tree056bdaeae2b29236e469b3d8002533f567ea9179 /Userland/Libraries
parent691a7070f414238c0e9830899a0e750af9b00e1e (diff)
downloadserenity-e68309144b28759874f9fe615d2c0094c1791841.zip
LibWeb: Don't scale by x, x when a scale x, y is provided as a transform
Diffstat (limited to 'Userland/Libraries')
-rw-r--r--Userland/Libraries/LibWeb/Painting/StackingContext.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibWeb/Painting/StackingContext.cpp b/Userland/Libraries/LibWeb/Painting/StackingContext.cpp
index 524cad258c..0ddb24201b 100644
--- a/Userland/Libraries/LibWeb/Painting/StackingContext.cpp
+++ b/Userland/Libraries/LibWeb/Painting/StackingContext.cpp
@@ -240,7 +240,7 @@ Gfx::FloatMatrix4x4 StackingContext::get_transformation_matrix(CSS::Transformati
0, 0, 0, 1);
if (count == 2)
return Gfx::FloatMatrix4x4(value(0), 0, 0, 0,
- 0, value(0), 0, 0,
+ 0, value(1), 0, 0,
0, 0, 1, 0,
0, 0, 0, 1);
break;