chromium/third_party/blink/web_tests/http/tests/devtools/elements/styles-4/styles-update-from-js-expected.txt

Tests that changes to an inline style and ancestor/sibling className from JavaScript are reflected in the Styles pane and Elements tree.


Running: testInit

Running: testSetStyleAttribute
<div id="container" style="color: #daC0DE; border: 1px solid black;">…</div>
[expanded] 
element.style { ()
    color: #daC0DE;
    border: 1px solid black;
        border-top-width: 1px;
        border-right-width: 1px;
        border-bottom-width: 1px;
        border-left-width: 1px;
        border-top-style: solid;
        border-right-style: solid;
        border-bottom-style: solid;
        border-left-style: solid;
        border-top-color: black;
        border-right-color: black;
        border-bottom-color: black;
        border-left-color: black;
        border-image-source: initial;
        border-image-slice: initial;
        border-image-width: initial;
        border-image-outset: initial;
        border-image-repeat: initial;

[expanded] 
div { (user agent stylesheet)
    display: block;
    unicode-bidi: isolate;


Running: testSetStyleCSSText
<div id="container" style="color: rgb(192, 255, 238);">…</div>
[expanded] 
element.style { ()
    color: rgb(192, 255, 238);

[expanded] 
div { (user agent stylesheet)
    display: block;
    unicode-bidi: isolate;


Running: testSetViaParsedAttributes
<div id="container" style="color: rgb(192, 255, 238); border: 3px dashed green;">…</div>
[expanded] 
element.style { ()
    color: rgb(192, 255, 238);
    border: 3px dashed green;
        border-top-width: 3px;
        border-right-width: 3px;
        border-bottom-width: 3px;
        border-left-width: 3px;
        border-top-style: dashed;
        border-right-style: dashed;
        border-bottom-style: dashed;
        border-left-style: dashed;
        border-top-color: green;
        border-right-color: green;
        border-bottom-color: green;
        border-left-color: green;
        border-image-source: initial;
        border-image-slice: initial;
        border-image-width: initial;
        border-image-outset: initial;
        border-image-repeat: initial;

[expanded] 
div { (user agent stylesheet)
    display: block;
    unicode-bidi: isolate;


Running: testSetViaAncestorClass
<div id="child"></div>
[expanded] 
element.style { ()

[expanded] 
.red div:first-child { (<style>)
    background-color: red;

[expanded] 
div { (user agent stylesheet)
    display: block;
    unicode-bidi: isolate;

======== Inherited from div#container.red ========
[expanded] 
style attribute { ()
    color: rgb(192, 255, 238);


Running: testSetViaSiblingAttr
<div id="childSibling"></div>
[expanded] 
element.style { ()

[expanded] 
div[foo="bar"] + div { (<style>)
    background-color: blue;

[expanded] 
div { (user agent stylesheet)
    display: block;
    unicode-bidi: isolate;

======== Inherited from div#container.red ========
[expanded] 
style attribute { ()
    color: rgb(192, 255, 238);