OLD | NEW |
| (Empty) |
1 PASS successfullyParsed is true | |
2 | |
3 TEST COMPLETE | |
4 Test case: no reset-style-inheritance. color value should be inherited from the
shadow host. | |
5 PASS window.getComputedStyle(document.getElementById("no-reset-style-inheritance
").firstChild).color is "rgb(255, 238, 238)" | |
6 PASS window.getComputedStyle(document.getElementById("no-reset-style-inheritance
").firstChild).backgroundColor is "rgba(0, 0, 0, 0)" | |
7 Test case: reset-style-inhertiace basic test. color value should be initial beca
use insertion point's resetStyleInheritance is true. | |
8 PASS window.getComputedStyle(document.getElementById("reset-style-inheritance").
firstChild).color is "rgb(0, 0, 0)" | |
9 PASS window.getComputedStyle(document.getElementById("reset-style-inheritance").
firstChild).backgroundColor is "rgba(0, 0, 0, 0)" | |
10 Test case: make a content element reset-style-inhertiace by using its attribute.
color value should be initial because insertion point's resetStyleInheritance i
s true. | |
11 PASS window.getComputedStyle(document.getElementById("reset-style-inheritance").
firstChild).color is "rgb(0, 0, 0)" | |
12 PASS window.getComputedStyle(document.getElementById("reset-style-inheritance").
firstChild).backgroundColor is "rgba(0, 0, 0, 0)" | |
13 Test case: make a shadow element reset-style-inhertiace by using its attribute.
color value should be initial because insertion point's resetStyleInheritance is
true. | |
14 PASS window.getComputedStyle(document.getElementById("reset-style-inheritance").
firstChild).color is "rgb(0, 0, 0)" | |
15 PASS window.getComputedStyle(document.getElementById("reset-style-inheritance").
firstChild).backgroundColor is "rgba(0, 0, 0, 0)" | |
16 Test case: reset-style-inhertiace changes dynamically. Firstly color value shoul
d be inherited. Next, initial. At last, inherited. | |
17 PASS window.getComputedStyle(document.getElementById("reset-style-inheritance-dy
namic").firstChild).color is "rgb(255, 238, 238)" | |
18 PASS window.getComputedStyle(document.getElementById("reset-style-inheritance-dy
namic").firstChild).backgroundColor is "rgba(0, 0, 0, 0)" | |
19 PASS window.getComputedStyle(document.getElementById("reset-style-inheritance-dy
namic").firstChild).color is "rgb(0, 0, 0)" | |
20 PASS window.getComputedStyle(document.getElementById("reset-style-inheritance-dy
namic").firstChild).backgroundColor is "rgba(0, 0, 0, 0)" | |
21 PASS window.getComputedStyle(document.getElementById("reset-style-inheritance-dy
namic").firstChild).color is "rgb(255, 238, 238)" | |
22 PASS window.getComputedStyle(document.getElementById("reset-style-inheritance-dy
namic").firstChild).backgroundColor is "rgba(0, 0, 0, 0)" | |
23 Test case: the parent node of the distributed node is in the same shadow dom sub
tree as the insertion point. color value should be initial. reset-style-inherita
nce doesn't depend on whether parent style node is in the same treescope or not. | |
24 PASS window.getComputedStyle(document.getElementById("reset-but-not-cross-upper-
boundary").firstChild).color is "rgb(0, 0, 0)" | |
25 PASS window.getComputedStyle(document.getElementById("reset-but-not-cross-upper-
boundary").firstChild).backgroundColor is "rgba(0, 0, 0, 0)" | |
26 Test case: reset-style-inheritance with multiple shadow roots. color value shoul
d be initial, because reset-style-inheritance of the insertion point in the youn
gest shadow root is true. | |
27 PASS window.getComputedStyle(document.getElementById("multiple-shadow-roots").fi
rstChild).color is "rgb(0, 0, 0)" | |
28 PASS window.getComputedStyle(document.getElementById("multiple-shadow-roots").fi
rstChild).backgroundColor is "rgba(0, 0, 0, 0)" | |
29 Test case: multiple insertion points in the same shadow dom subtree.. Each reset
-style-inheritance should be checked. | |
30 PASS window.getComputedStyle(document.getElementById("multiple-insertion-points"
).firstChild).color is "rgb(255, 238, 238)" | |
31 PASS window.getComputedStyle(document.getElementById("multiple-insertion-points"
).firstChild).backgroundColor is "rgba(0, 0, 0, 0)" | |
32 PASS window.getComputedStyle(document.getElementById("multiple-insertion-points"
).lastChild).color is "rgb(0, 0, 0)" | |
33 PASS window.getComputedStyle(document.getElementById("multiple-insertion-points"
).lastChild).backgroundColor is "rgba(0, 0, 0, 0)" | |
34 DONE | |
OLD | NEW |