mirror of
https://github.com/servo/servo.git
synced 2025-08-19 04:15:33 +01:00
Enable Shadow DOM for tests (#34299)
* Enable shadowdom implementation in all tests. Signed-off-by: Josh Matthews <josh@joshmatthews.net> * Update test expectations. Signed-off-by: Josh Matthews <josh@joshmatthews.net> --------- Signed-off-by: Josh Matthews <josh@joshmatthews.net>
This commit is contained in:
parent
c73e4baca2
commit
910e8dc89f
207 changed files with 4735 additions and 260 deletions
|
@ -1,12 +0,0 @@
|
|||
[Event-dispatch-detached-input-and-change.html]
|
||||
[attached to shadow dom checkbox should emit input and change events on click().]
|
||||
expected: FAIL
|
||||
|
||||
[attached to shadow dom radio should emit input and change events on click().]
|
||||
expected: FAIL
|
||||
|
||||
[attached to shadow dom checkbox should emit input and change events on dispatchEvent(new MouseEvent('click')).]
|
||||
expected: FAIL
|
||||
|
||||
[attached to shadow dom radio should emit input and change events on dispatchEvent(new MouseEvent('click')).]
|
||||
expected: FAIL
|
|
@ -1,7 +1,4 @@
|
|||
[event-global.html]
|
||||
[window.event is undefined if the target is in a shadow tree (event dispatched outside shadow tree)]
|
||||
expected: FAIL
|
||||
|
||||
[window.event is undefined if the target is in a shadow tree (event dispatched inside shadow tree)]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,2 +1,18 @@
|
|||
[relatedTarget.window.html]
|
||||
expected: ERROR
|
||||
[Reset if target pointed to a shadow tree]
|
||||
expected: FAIL
|
||||
|
||||
[Retarget a shadow-tree relatedTarget]
|
||||
expected: FAIL
|
||||
|
||||
[Reset if target pointed to a shadow tree pre-dispatch]
|
||||
expected: FAIL
|
||||
|
||||
[Retarget a shadow-tree relatedTarget, part 2]
|
||||
expected: FAIL
|
||||
|
||||
[Reset targets on early return]
|
||||
expected: FAIL
|
||||
|
||||
[Reset targets before activation behavior]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,2 +1,6 @@
|
|||
[shadow-relatedTarget.html]
|
||||
expected: ERROR
|
||||
[relatedTarget should not leak at capturing phase, at window object.]
|
||||
expected: FAIL
|
||||
|
||||
[relatedTarget should not leak at target.]
|
||||
expected: FAIL
|
||||
|
|
7
tests/wpt/meta/dom/idlharness.window.js.ini
vendored
7
tests/wpt/meta/dom/idlharness.window.js.ini
vendored
|
@ -187,9 +187,6 @@
|
|||
[XPathResult interface: document.evaluate("//*", document.body) must inherit property "snapshotItem(unsigned long)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[Element interface: element must inherit property "attachShadow(ShadowRootInit)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[Element interface: element must inherit property "slot" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -682,16 +679,12 @@
|
|||
[Document interface: attribute fullscreen]
|
||||
expected: FAIL
|
||||
|
||||
[Document interface: operation exitFullscreen()]
|
||||
|
||||
[Document interface: attribute fullscreenElement]
|
||||
expected: FAIL
|
||||
|
||||
[ShadowRoot interface: attribute fullscreenElement]
|
||||
expected: FAIL
|
||||
|
||||
[Element interface: operation requestFullscreen(optional FullscreenOptions)]
|
||||
|
||||
[Element interface: attribute onfullscreenchange]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
[Node-isConnected-shadow-dom.html]
|
||||
[Node.isConnected in a open shadow tree]
|
||||
expected: FAIL
|
||||
|
||||
[Node.isConnected in a closed shadow tree]
|
||||
expected: FAIL
|
||||
|
|
@ -10,6 +10,3 @@
|
|||
|
||||
[appendChild() and ShadowRoot]
|
||||
expected: FAIL
|
||||
|
||||
[adoptNode() and ShadowRoot]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,2 +0,0 @@
|
|||
[remove-from-shadow-host-and-adopt-into-iframe.html]
|
||||
expected: TIMEOUT
|
Loading…
Add table
Add a link
Reference in a new issue