OLD | NEW |
1 Tests that changes to an inline style and ancestor/sibling className from JavaSc
ript are reflected in the Styles pane and Elements tree. | 1 Tests that changes to an inline style and ancestor/sibling className from JavaSc
ript are reflected in the Styles pane and Elements tree. |
2 | 2 |
3 | 3 |
4 Running: testInit | 4 Running: testInit |
5 | 5 |
6 Running: testSetStyleAttribute | 6 Running: testSetStyleAttribute |
7 <div id="container" style="color: #daC0DE; border: 1px solid black;">…</div> | 7 <div id="container" style="color: #daC0DE; border: 1px solid black;">…</div> |
8 [expanded] | 8 [expanded] |
9 element.style { () | 9 element.style { () |
10 color: #daC0DE; | 10 color: #daC0DE; |
11 border: 1px solid black; | 11 border: 1px solid black; |
12 border-top-color: black; | 12 border-top-color: black; |
13 border-top-style: solid; | 13 border-top-style: solid; |
14 border-top-width: 1px; | 14 border-top-width: 1px; |
15 border-right-color: black; | 15 border-right-color: black; |
16 border-right-style: solid; | 16 border-right-style: solid; |
17 border-right-width: 1px; | 17 border-right-width: 1px; |
18 border-bottom-color: black; | 18 border-bottom-color: black; |
19 border-bottom-style: solid; | 19 border-bottom-style: solid; |
20 border-bottom-width: 1px; | 20 border-bottom-width: 1px; |
21 border-left-color: black; | 21 border-left-color: black; |
22 border-left-style: solid; | 22 border-left-style: solid; |
23 border-left-width: 1px; | 23 border-left-width: 1px; |
24 | 24 |
25 [expanded] | 25 [expanded] |
26 div { (user agent stylesheet) | 26 div { (user agent stylesheet) |
27 display: block; | 27 display: block; |
28 | 28 |
29 | 29 |
30 | |
31 Running: testSetStyleCSSText | 30 Running: testSetStyleCSSText |
32 <div id="container" style="color: rgb(192, 255, 238);">…</div> | 31 <div id="container" style="color: rgb(192, 255, 238);">…</div> |
33 [expanded] | 32 [expanded] |
34 element.style { () | 33 element.style { () |
35 color: rgb(192, 255, 238); | 34 color: rgb(192, 255, 238); |
36 | 35 |
37 [expanded] | 36 [expanded] |
38 div { (user agent stylesheet) | 37 div { (user agent stylesheet) |
39 display: block; | 38 display: block; |
40 | 39 |
41 | 40 |
42 | |
43 Running: testSetViaParsedAttributes | 41 Running: testSetViaParsedAttributes |
44 <div id="container" style="color: rgb(192, 255, 238); border: 3px dashed green;"
>…</div> | 42 <div id="container" style="color: rgb(192, 255, 238); border: 3px dashed green;"
>…</div> |
45 [expanded] | 43 [expanded] |
46 element.style { () | 44 element.style { () |
47 color: rgb(192, 255, 238); | 45 color: rgb(192, 255, 238); |
48 border: 3px dashed green; | 46 border: 3px dashed green; |
49 border-top-color: green; | 47 border-top-color: green; |
50 border-top-style: dashed; | 48 border-top-style: dashed; |
51 border-top-width: 3px; | 49 border-top-width: 3px; |
52 border-right-color: green; | 50 border-right-color: green; |
53 border-right-style: dashed; | 51 border-right-style: dashed; |
54 border-right-width: 3px; | 52 border-right-width: 3px; |
55 border-bottom-color: green; | 53 border-bottom-color: green; |
56 border-bottom-style: dashed; | 54 border-bottom-style: dashed; |
57 border-bottom-width: 3px; | 55 border-bottom-width: 3px; |
58 border-left-color: green; | 56 border-left-color: green; |
59 border-left-style: dashed; | 57 border-left-style: dashed; |
60 border-left-width: 3px; | 58 border-left-width: 3px; |
61 | 59 |
62 [expanded] | 60 [expanded] |
63 div { (user agent stylesheet) | 61 div { (user agent stylesheet) |
64 display: block; | 62 display: block; |
65 | 63 |
66 | 64 |
67 | |
68 Running: testSetViaAncestorClass | 65 Running: testSetViaAncestorClass |
69 <div id="child"></div> | 66 <div id="child"></div> |
70 [expanded] | 67 [expanded] |
71 element.style { () | 68 element.style { () |
72 | 69 |
73 [expanded] | 70 [expanded] |
74 .red div:first-child { (styles-update-from-js.html:4 -> styles-update-from-js.h
tml:4:1) | 71 .red div:first-child { (styles-update-from-js.html:4 -> styles-update-from-js.h
tml:4:1) |
75 background-color: red; | 72 background-color: red; |
76 | 73 |
77 [expanded] | 74 [expanded] |
78 div { (user agent stylesheet) | 75 div { (user agent stylesheet) |
79 display: block; | 76 display: block; |
80 | 77 |
81 ======== Inherited from div#container.red ======== | 78 ======== Inherited from div#container.red ======== |
82 [expanded] | 79 [expanded] |
83 Style Attribute { () | 80 Style Attribute { () |
84 color: rgb(192, 255, 238); | 81 color: rgb(192, 255, 238); |
85 | 82 |
86 | 83 |
87 | |
88 Running: testSetViaSiblingAttr | 84 Running: testSetViaSiblingAttr |
89 <div id="childSibling"></div> | 85 <div id="childSibling"></div> |
90 [expanded] | 86 [expanded] |
91 element.style { () | 87 element.style { () |
92 | 88 |
93 [expanded] | 89 [expanded] |
94 div[foo="bar"] + div { (styles-update-from-js.html:8 -> styles-update-from-js.h
tml:8:1) | 90 div[foo="bar"] + div { (styles-update-from-js.html:8 -> styles-update-from-js.h
tml:8:1) |
95 background-color: blue; | 91 background-color: blue; |
96 | 92 |
97 [expanded] | 93 [expanded] |
98 div { (user agent stylesheet) | 94 div { (user agent stylesheet) |
99 display: block; | 95 display: block; |
100 | 96 |
101 ======== Inherited from div#container.red ======== | 97 ======== Inherited from div#container.red ======== |
102 [expanded] | 98 [expanded] |
103 Style Attribute { () | 99 Style Attribute { () |
104 color: rgb(192, 255, 238); | 100 color: rgb(192, 255, 238); |
105 | 101 |
106 | 102 |
107 | |
OLD | NEW |