2 <script src=
"../../../resources/js-test.js"></script>
4 .outer #inner:not(:-webkit-full-page-media) {
5 background-color: green
13 <div id=
"inner"></div>
20 description("Support style invalidation when selectors contain :-webkit-full-page-media")
22 var transparent
= "rgba(0, 0, 0, 0)";
23 var green
= "rgb(0, 128, 0)";
25 shouldBe("getComputedStyle(inner).backgroundColor", "transparent");
27 inner
.offsetTop
; // force recalc
28 outer
.className
= "outer";
31 shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1");
33 shouldBe("getComputedStyle(inner).backgroundColor", "green");