Add Path2D (#35783)

Signed-off-by: Lukas Lihotzki <lukas@lihotzki.de>
This commit is contained in:
Lukas Lihotzki 2025-03-26 13:12:44 +01:00 committed by GitHub
parent f0ea3c6150
commit 251eeb2c2d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
53 changed files with 1566 additions and 262 deletions

View file

@ -5,57 +5,9 @@
[ImageData interface: attribute colorSpace]
expected: FAIL
[Path2D interface: existence and properties of interface object]
expected: FAIL
[Path2D interface object length]
expected: FAIL
[Path2D interface object name]
expected: FAIL
[Path2D interface: existence and properties of interface prototype object]
expected: FAIL
[Path2D interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[Path2D interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[Path2D interface: operation addPath(Path2D, optional DOMMatrix2DInit)]
expected: FAIL
[Path2D interface: operation closePath()]
expected: FAIL
[Path2D interface: operation moveTo(unrestricted double, unrestricted double)]
expected: FAIL
[Path2D interface: operation lineTo(unrestricted double, unrestricted double)]
expected: FAIL
[Path2D interface: operation quadraticCurveTo(unrestricted double, unrestricted double, unrestricted double, unrestricted double)]
expected: FAIL
[Path2D interface: operation bezierCurveTo(unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double)]
expected: FAIL
[Path2D interface: operation arcTo(unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double)]
expected: FAIL
[Path2D interface: operation rect(unrestricted double, unrestricted double, unrestricted double, unrestricted double)]
expected: FAIL
[Path2D interface: operation roundRect(unrestricted double, unrestricted double, unrestricted double, unrestricted double, optional (unrestricted double or DOMPointInit or sequence<(unrestricted double or DOMPointInit)>))]
expected: FAIL
[Path2D interface: operation arc(unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double, optional boolean)]
expected: FAIL
[Path2D interface: operation ellipse(unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double, optional boolean)]
expected: FAIL
[ImageBitmapRenderingContext interface: existence and properties of interface object]
expected: FAIL

View file

@ -176,12 +176,6 @@
[DataTransfer interface: operation getData(DOMString)]
expected: FAIL
[Path2D interface: operation closePath()]
expected: FAIL
[Path2D interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[History interface: attribute scrollRestoration]
expected: FAIL
@ -368,9 +362,6 @@
[Stringification of window.applicationCache]
expected: FAIL
[Path2D interface: operation rect(unrestricted double, unrestricted double, unrestricted double, unrestricted double)]
expected: FAIL
[DataTransfer interface: attribute dropEffect]
expected: FAIL
@ -455,9 +446,6 @@
[ApplicationCache interface: constant UNCACHED on interface prototype object]
expected: FAIL
[Path2D interface: operation ellipse(unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double, optional boolean)]
expected: FAIL
[SVGElement interface: attribute dataset]
expected: FAIL
@ -482,9 +470,6 @@
[CanvasRenderingContext2D interface: document.createElement("canvas").getContext("2d") must inherit property "drawFocusIfNeeded(Element)" with the proper type]
expected: FAIL
[Path2D interface: operation arcTo(unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double)]
expected: FAIL
[SVGElement interface: attribute autofocus]
expected: FAIL
@ -500,9 +485,6 @@
[SVGElement interface: attribute onmouseover]
expected: FAIL
[Path2D interface: operation addPath(Path2D, optional DOMMatrix2DInit)]
expected: FAIL
[BarProp interface: existence and properties of interface object]
expected: FAIL
@ -545,9 +527,6 @@
[ApplicationCache interface: attribute onnoupdate]
expected: FAIL
[Path2D interface: existence and properties of interface object]
expected: FAIL
[External interface: window.external must inherit property "IsSearchProviderInstalled()" with the proper type]
expected: FAIL
@ -569,9 +548,6 @@
[External must be primary interface of window.external]
expected: FAIL
[Path2D interface object name]
expected: FAIL
[ApplicationCache interface: constant OBSOLETE on interface object]
expected: FAIL
@ -593,12 +569,6 @@
[SVGElement interface: attribute onwebkitanimationiteration]
expected: FAIL
[Path2D interface object length]
expected: FAIL
[Path2D interface: existence and properties of interface prototype object]
expected: FAIL
[DragEvent interface: existence and properties of interface prototype object]
expected: FAIL
@ -620,15 +590,9 @@
[DOMStringList interface: location.ancestorOrigins must inherit property "item(unsigned long)" with the proper type]
expected: FAIL
[Path2D interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[SVGElement interface: attribute onmouseenter]
expected: FAIL
[Path2D interface: operation quadraticCurveTo(unrestricted double, unrestricted double, unrestricted double, unrestricted double)]
expected: FAIL
[CanvasRenderingContext2D interface: operation strokeText(DOMString, unrestricted double, unrestricted double, optional unrestricted double)]
expected: FAIL
@ -638,15 +602,9 @@
[SharedWorker interface object length]
expected: FAIL
[Path2D interface: operation lineTo(unrestricted double, unrestricted double)]
expected: FAIL
[DragEvent interface: existence and properties of interface object]
expected: FAIL
[Path2D interface: operation arc(unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double, optional boolean)]
expected: FAIL
[ApplicationCache interface: window.applicationCache must inherit property "onprogress" with the proper type]
expected: FAIL
@ -695,9 +653,6 @@
[ImageBitmapRenderingContext interface: attribute canvas]
expected: FAIL
[Path2D interface: operation bezierCurveTo(unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double)]
expected: FAIL
[ApplicationCache interface: window.applicationCache must inherit property "status" with the proper type]
expected: FAIL
@ -866,9 +821,6 @@
[SVGElement interface: attribute onratechange]
expected: FAIL
[Path2D interface: operation moveTo(unrestricted double, unrestricted double)]
expected: FAIL
[DragEvent interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
@ -4784,57 +4736,9 @@
[ImageData interface: new ImageData(10, 10) must inherit property "colorSpace" with the proper type]
expected: FAIL
[Path2D interface: existence and properties of interface object]
expected: FAIL
[Path2D interface object length]
expected: FAIL
[Path2D interface object name]
expected: FAIL
[Path2D interface: existence and properties of interface prototype object]
expected: FAIL
[Path2D interface: existence and properties of interface prototype object's "constructor" property]
expected: FAIL
[Path2D interface: existence and properties of interface prototype object's @@unscopables property]
expected: FAIL
[Path2D interface: operation addPath(Path2D, optional DOMMatrix2DInit)]
expected: FAIL
[Path2D interface: operation closePath()]
expected: FAIL
[Path2D interface: operation moveTo(unrestricted double, unrestricted double)]
expected: FAIL
[Path2D interface: operation lineTo(unrestricted double, unrestricted double)]
expected: FAIL
[Path2D interface: operation quadraticCurveTo(unrestricted double, unrestricted double, unrestricted double, unrestricted double)]
expected: FAIL
[Path2D interface: operation bezierCurveTo(unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double)]
expected: FAIL
[Path2D interface: operation arcTo(unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double)]
expected: FAIL
[Path2D interface: operation rect(unrestricted double, unrestricted double, unrestricted double, unrestricted double)]
expected: FAIL
[Path2D interface: operation roundRect(unrestricted double, unrestricted double, unrestricted double, unrestricted double, optional (unrestricted double or DOMPointInit or sequence<(unrestricted double or DOMPointInit)>))]
expected: FAIL
[Path2D interface: operation arc(unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double, optional boolean)]
expected: FAIL
[Path2D interface: operation ellipse(unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double, unrestricted double, optional boolean)]
expected: FAIL
[ImageBitmapRenderingContext interface: existence and properties of interface object]
expected: FAIL