layout: Add basic support for getClientRects() queries (#31696)

This adds basic support for `getClientRects()` by sharing code with the
implementation of `getBoundingClientRect()`. In addition to sharing
code, it also shares all of the bugs. Primarily, scrolilng positions are
not taken into account when return boundary rectangles.
This commit is contained in:
Martin Robinson 2024-03-15 18:20:47 +01:00 committed by GitHub
parent 3f3820b3dc
commit 47a4ce467f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 48 additions and 71 deletions

View file

@ -7,9 +7,3 @@
[DOMRectList item()]
expected: FAIL
[DOMRectList length]
expected: FAIL
[DOMRectList indexed getter]
expected: FAIL

View file

@ -88,6 +88,3 @@
[DOMMatrix clone: non-initial values (3d)]
expected: FAIL
[DOMRectList clone]
expected: FAIL