aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/meta
diff options
context:
space:
mode:
authorSimon Wülker <simon.wuelker@arcor.de>2025-03-19 09:33:11 +0100
committerGitHub <noreply@github.com>2025-03-19 08:33:11 +0000
commit6be7612d165ab15b5df383fb378633b707a6f782 (patch)
treedfe65c91e03219320718671b5ca1713ee408635c /tests/wpt/meta
parent07e06f5635b95b90144caa198a941fc024f606b7 (diff)
downloadservo-6be7612d165ab15b5df383fb378633b707a6f782.tar.gz
servo-6be7612d165ab15b5df383fb378633b707a6f782.zip
script: Implement `Range::getClientRects` and `Range::getBoundingClientRect` (#35993)
* Add doc comments to boundary point Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> * Allow querying content box of text fragments Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> * Implement Range::getBoundingClientRect Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> * Update WPT expectations Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> --------- Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
Diffstat (limited to 'tests/wpt/meta')
-rw-r--r--tests/wpt/meta/css/cssom-view/DOMRectList.html.ini3
-rw-r--r--tests/wpt/meta/css/cssom-view/getBoundingClientRect-svg.html.ini9
-rw-r--r--tests/wpt/meta/css/cssom-view/idlharness.html.ini12
3 files changed, 0 insertions, 24 deletions
diff --git a/tests/wpt/meta/css/cssom-view/DOMRectList.html.ini b/tests/wpt/meta/css/cssom-view/DOMRectList.html.ini
deleted file mode 100644
index 7994572555c..00000000000
--- a/tests/wpt/meta/css/cssom-view/DOMRectList.html.ini
+++ /dev/null
@@ -1,3 +0,0 @@
-[DOMRectList.html]
- [Range getClientRects()]
- expected: FAIL
diff --git a/tests/wpt/meta/css/cssom-view/getBoundingClientRect-svg.html.ini b/tests/wpt/meta/css/cssom-view/getBoundingClientRect-svg.html.ini
deleted file mode 100644
index 22b5ce5cd27..00000000000
--- a/tests/wpt/meta/css/cssom-view/getBoundingClientRect-svg.html.ini
+++ /dev/null
@@ -1,9 +0,0 @@
-[getBoundingClientRect-svg.html]
- [Element.getBoundingClientRect() and Range.getBoudingClientRect() should match for an SVG <text>]
- expected: FAIL
-
- [Element.getBoundingClientRect() and Range.getBoudingClientRect() should match for an SVG <text> with a transform]
- expected: FAIL
-
- [Element.getBoundingClientRect() and Range.getBoudingClientRect() should match for an SVG <text> with a rotate]
- expected: FAIL
diff --git a/tests/wpt/meta/css/cssom-view/idlharness.html.ini b/tests/wpt/meta/css/cssom-view/idlharness.html.ini
index 2ce851386f3..24583c6b095 100644
--- a/tests/wpt/meta/css/cssom-view/idlharness.html.ini
+++ b/tests/wpt/meta/css/cssom-view/idlharness.html.ini
@@ -26,9 +26,6 @@
[Element interface: document.createElement("div") must inherit property "getBoxQuads(BoxQuadOptions)" with the proper type]
expected: FAIL
- [Range interface: new Range() must inherit property "getBoundingClientRect()" with the proper type]
- expected: FAIL
-
[Element interface: calling convertRectFromNode(DOMRectReadOnly, GeometryNode, ConvertCoordinateOptions) on document.createElementNS("x", "y") with too few arguments must throw TypeError]
expected: FAIL
@@ -62,9 +59,6 @@
[CaretPosition interface: attribute offset]
expected: FAIL
- [Range interface: operation getBoundingClientRect()]
- expected: FAIL
-
[Partial dictionary MouseEventInit: member names are unique]
expected: FAIL
@@ -98,9 +92,6 @@
[CaretPosition interface: existence and properties of interface prototype object]
expected: FAIL
- [Range interface: operation getClientRects()]
- expected: FAIL
-
[Element interface: document.createElementNS("x", "y") must inherit property "convertRectFromNode(DOMRectReadOnly, GeometryNode, ConvertCoordinateOptions)" with the proper type]
expected: FAIL
@@ -272,9 +263,6 @@
[Element interface: document.createElement("img") must inherit property "convertPointFromNode(DOMPointInit, GeometryNode, ConvertCoordinateOptions)" with the proper type]
expected: FAIL
- [Range interface: new Range() must inherit property "getClientRects()" with the proper type]
- expected: FAIL
-
[Window interface: window must inherit property "screenLeft" with the proper type]
expected: FAIL