1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 13:37:44 +00:00

LibWeb: Apply transform origin in Element::get_client_rects()

This commit is contained in:
Bastiaan van der Plaat 2024-03-06 21:39:30 +01:00 committed by Alexander Kalenik
parent 5a20353bc4
commit 76f767c867
3 changed files with 8 additions and 5 deletions

View file

@ -1 +1 @@
{"x":68,"y":118,"width":100,"height":100,"top":118,"right":168,"bottom":218,"left":68}
{"x":18,"y":68,"width":200,"height":200,"top":68,"right":218,"bottom":268,"left":18}

View file

@ -13,7 +13,7 @@
width: 100px;
height: 100px;
opacity: 0.1;
transform: translate(10px, 10px);
transform: translate(10px, 10px) scale(2);
}
</style>
<div class="transform-1">