Index: LayoutTests/fast/css/invalidation/targeted-class-type-selectors.html |
diff --git a/LayoutTests/fast/css/invalidation/targeted-class-type-selectors.html b/LayoutTests/fast/css/invalidation/targeted-class-type-selectors.html |
index e334dd4255fb9a9039bc4455f9748f037b459ec6..34fac14dea8f15c6500b21c47029eca72db946fe 100644 |
--- a/LayoutTests/fast/css/invalidation/targeted-class-type-selectors.html |
+++ b/LayoutTests/fast/css/invalidation/targeted-class-type-selectors.html |
@@ -48,7 +48,7 @@ document.body.offsetTop; // Force style recalc. |
document.getElementById("t1").className = "a1"; |
if (window.internals) |
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "3"); |
+ shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "2"); |
shouldBe("getComputedStyle(children[0][0], null).backgroundColor", "green"); |
shouldBe("getComputedStyle(children[0][1], null).backgroundColor", "green"); |
shouldBe("getComputedStyle(children[0][2], null).backgroundColor", "transparent"); |
@@ -58,7 +58,7 @@ document.body.offsetLeft; // force style recalc. |
document.getElementById("t2").className = "a2"; |
if (window.internals) |
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "3"); |
+ shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "2"); |
shouldBe("getComputedStyle(children[1][0], null).backgroundColor", "transparent"); |
shouldBe("getComputedStyle(children[1][1], null).backgroundColor", "transparent"); |
shouldBe("getComputedStyle(children[1][2], null).backgroundColor", "green"); |