mirror of
https://github.com/servo/servo.git
synced 2025-09-30 16:49:16 +01:00
Implement element.shadowRoot
attribute (#34306)
* Implement Element.shadowRoot attribute Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> * Remove comments about shadowdom not being exposed for web content This is obviously not the case anymore. 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>
This commit is contained in:
parent
c5cf2621b6
commit
527e2d426d
15 changed files with 209 additions and 65 deletions
|
@ -1,6 +1,3 @@
|
|||
[Element-interface-attachShadow.html]
|
||||
[Element.attachShadow must throw a TypeError if mode is not "open" or "closed"]
|
||||
expected: FAIL
|
||||
|
||||
[Element.attachShadow must throw a NotSupportedError if the context object already hosts a shadow tree]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
[Element-interface-shadowRoot-attribute.html]
|
||||
[shadowRoot must be defined on Element prototype]
|
||||
expected: FAIL
|
||||
|
||||
[shadowRoot attribute must return the open shadow root associated with the element]
|
||||
expected: FAIL
|
||||
|
||||
[shadowRoot attribute must return null if the shadow root attached to the element is closed]
|
||||
expected: FAIL
|
|
@ -4,6 +4,3 @@
|
|||
|
||||
[cloneNode on a shadow root in closed mode must throw a NotSupportedError]
|
||||
expected: FAIL
|
||||
|
||||
[cloneNode on an element with an open shadow root should not clone its shadow root]
|
||||
expected: FAIL
|
||||
|
|
|
@ -56,8 +56,5 @@
|
|||
[Declarative Shadow DOM: template containing declarative shadow root and UA shadow root]
|
||||
expected: FAIL
|
||||
|
||||
[Declarative Shadow DOM: declarative shadow roots are not supported by the template element]
|
||||
expected: FAIL
|
||||
|
||||
[Declarative Shadow DOM: explicit test that exceptions are not thrown]
|
||||
expected: FAIL
|
||||
|
|
|
@ -8,15 +8,9 @@
|
|||
[:focus applies to host with delegatesFocus=true when an element in a nested shadow tree with delegatesFocus=true is focused]
|
||||
expected: FAIL
|
||||
|
||||
[:focus should be removed from hosts with delegatesFocus=true when none of the elements in a nested shadow tree with delegatesFocus=true is focused]
|
||||
expected: FAIL
|
||||
|
||||
[:focus applies to host with delegatesFocus=true when an element in a nested shadow tree with delegatesFocus=false is focused]
|
||||
expected: FAIL
|
||||
|
||||
[:focus should be removed from hosts with delegatesFocus=true when none of the elements in a nested shadow tree with delegatesFocus=false is focused]
|
||||
expected: FAIL
|
||||
|
||||
[:focus applies to host with delegatesFocus=false when the shadow root's descendant has focus]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -26,11 +20,5 @@
|
|||
[:focus applies to host with delegatesFocus=false when an element in a nested shadow tree with delegatesFocus=true is focused]
|
||||
expected: FAIL
|
||||
|
||||
[:focus should be removed from hosts with delegatesFocus=false when none of the elements in a nested shadow tree with delegatesFocus=true is focused]
|
||||
expected: FAIL
|
||||
|
||||
[:focus applies to host with delegatesFocus=false when an element in a nested shadow tree with delegatesFocus=false is focused]
|
||||
expected: FAIL
|
||||
|
||||
[:focus should be removed from hosts with delegatesFocus=false when none of the elements in a nested shadow tree with delegatesFocus=false is focused]
|
||||
expected: FAIL
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
[test-006.html]
|
||||
[A_10_02_01_06_T01]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue