1 Tests that changes to an inline style and ancestor/sibling className from JavaScript are reflected in the Styles pane and Elements tree.
6 Running: testSetStyleAttribute
7 <div id="container" style="color: #daC0DE; border: 1px solid black;">…</div>
11 border: 1px solid black;
12 border-top-color: black;
13 border-top-style: solid;
14 border-top-width: 1px;
15 border-right-color: black;
16 border-right-style: solid;
17 border-right-width: 1px;
18 border-bottom-color: black;
19 border-bottom-style: solid;
20 border-bottom-width: 1px;
21 border-left-color: black;
22 border-left-style: solid;
23 border-left-width: 1px;
26 div { (user agent stylesheet)
30 Running: testSetStyleCSSText
31 <div id="container" style="color: rgb(192, 255, 238);">…</div>
34 color: rgb(192, 255, 238);
37 div { (user agent stylesheet)
41 Running: testSetViaParsedAttributes
42 <div id="container" style="color: rgb(192, 255, 238); border: 3px dashed green;">…</div>
45 color: rgb(192, 255, 238);
46 border: 3px dashed green;
47 border-top-color: green;
48 border-top-style: dashed;
49 border-top-width: 3px;
50 border-right-color: green;
51 border-right-style: dashed;
52 border-right-width: 3px;
53 border-bottom-color: green;
54 border-bottom-style: dashed;
55 border-bottom-width: 3px;
56 border-left-color: green;
57 border-left-style: dashed;
58 border-left-width: 3px;
61 div { (user agent stylesheet)
65 Running: testSetViaAncestorClass
66 <div id="child"></div>
71 .red div:first-child { (styles-update-from-js.html:4 -> styles-update-from-js.html:4:1)
72 background-color: red;
75 div { (user agent stylesheet)
78 ======== Inherited from div#container.red ========
81 color: rgb(192, 255, 238);
84 Running: testSetViaSiblingAttr
85 <div id="childSibling"></div>
90 div[foo="bar"] + div { (styles-update-from-js.html:8 -> styles-update-from-js.html:8:1)
91 background-color: blue;
94 div { (user agent stylesheet)
97 ======== Inherited from div#container.red ========
100 color: rgb(192, 255, 238);