| Index: third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-class-any-pseudo.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-class-any-pseudo.html b/third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-class-any-pseudo.html
|
| index 84435c812dc0a168692d38e817110d09fda5b98a..cf48efce422efa0ac457976cc4b358b3bcbbc317 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-class-any-pseudo.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-class-any-pseudo.html
|
| @@ -65,21 +65,21 @@ document.body.offsetLeft; // force style recalc.
|
|
|
| t1.className = "a1";
|
| if (window.internals)
|
| - shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1");
|
| + shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "1");
|
| shouldBe("getComputedStyle(t1, null).backgroundColor", "green");
|
|
|
| document.body.offsetLeft; // force style recalc.
|
|
|
| document.getElementById("t2").className = "a2";
|
| if (window.internals)
|
| - shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1");
|
| + shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "1");
|
| shouldBe("getComputedStyle(b2, null).backgroundColor", "green");
|
|
|
| document.body.offsetLeft; // force style recalc.
|
|
|
| document.getElementById("t3").className = "a3";
|
| if (window.internals)
|
| - shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "2");
|
| + shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "2");
|
| shouldBe("getComputedStyle(b3, null).backgroundColor", "green");
|
| shouldBe("getComputedStyle(c3, null).backgroundColor", "green");
|
|
|
| @@ -87,7 +87,7 @@ document.body.offsetLeft; // force style recalc.
|
|
|
| document.getElementById("t4").className = "a4";
|
| if (window.internals)
|
| - shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "5");
|
| + shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "5");
|
| shouldBe("getComputedStyle(spans4[0], null).backgroundColor", "green");
|
| shouldBe("getComputedStyle(spans4[1], null).backgroundColor", "transparent");
|
| shouldBe("getComputedStyle(spans4[2], null).backgroundColor", "transparent");
|
| @@ -97,6 +97,6 @@ document.body.offsetLeft; // force style recalc.
|
|
|
| document.getElementById("t5").className = "a5";
|
| if (window.internals)
|
| - shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1");
|
| + shouldBe("internals.updateStyleAndLayoutAndReturnAffectedElementCount()", "1");
|
| shouldBe("getComputedStyle(d5, null).backgroundColor", "green");
|
| </script>
|
|
|