2 <script src=
"../../resources/js-test.js"></script>
5 testRunner
.dumpAsText();
8 document
.body
.offsetTop
;
10 shouldBe("window.internals.needsLayoutCount()", "0", true);
12 document
.getElementById('rect').style
.strokeOpacity
= '0.5';
13 if (window
.internals
) {
14 shouldBe("window.internals.updateStyleAndReturnAffectedElementCount()", "1", true);
15 shouldBe("window.internals.needsLayoutCount()", "0");
19 Change of stroke-opacity should cause style recalc only, no layout.
21 <rect id=
"rect" x=
"10" y=
"10" width=
"100" height=
"100" stroke=
"green" stroke-width=
"10"/>