2 <script src=
"../../resources/js-test.js"></script>
25 if (window
.testRunner
)
26 testRunner
.dumpAsText();
28 description("Check that we don't do unnecessary style recalcs for inheritance.");
31 internals
.updateStyleAndReturnAffectedElementCount();
33 document
.getElementById("t").style
.color
= "pink";
36 shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "2");