2 <script src=
"../../resources/js-test.js"></script>
3 <link rel=
"alternate stylesheet" title=
"not-preferred" href=
"resources/green.css">
6 description("Check that alternate stylesheet load completion did not cause a synchronous style recalc.");
8 window
.onload = function(){
9 shouldNotBe("internals.updateStyleAndReturnAffectedElementCount()", "0");
10 shouldBe("getComputedStyle(document.getElementById('t'), null).color", "'rgb(0, 0, 0)'");