1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 06:47:34 +00:00

LibWeb: Follow the spec more precisely in Element::getClientRects()

Now, `Element::getBoundingClientRect()` implementation depends on
`Element::getClientRects()`, as defined in the specification.
This commit is contained in:
Aliaksandr Kalenik 2024-01-30 11:36:28 +01:00 committed by Andreas Kling
parent 16f1962f10
commit 768b8415f2
3 changed files with 78 additions and 31 deletions

View file

@ -0,0 +1,2 @@
inline {"0":{"x":8,"y":500,"width":784,"height":150,"top":500,"right":792,"bottom":650,"left":8}}
{"0":{"x":8,"y":650,"width":41.296875,"height":17,"top":650,"right":49.296875,"bottom":667,"left":8}}