Index: LayoutTests/fast/css/invalidation/targeted-class-id.html |
diff --git a/LayoutTests/fast/css/invalidation/targeted-class-id.html b/LayoutTests/fast/css/invalidation/targeted-class-id.html |
index 5847c10c5bfa5290ff644d3515546b9d67e48f39..2ee5af89cce5c0cda66b5fdde47bd9cf7ae5e55d 100644 |
--- a/LayoutTests/fast/css/invalidation/targeted-class-id.html |
+++ b/LayoutTests/fast/css/invalidation/targeted-class-id.html |
@@ -28,14 +28,14 @@ document.body.offsetTop; // Force style recalc. |
document.getElementById("t1").className = "a1"; |
if (window.internals) |
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "2"); |
+ shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1"); |
shouldBe("getComputedStyle(b1, null).backgroundColor", "green"); |
document.body.offsetLeft; // force style recalc. |
document.getElementById("t2").className = "a2"; |
if (window.internals) |
- shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "2"); |
+ shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "1"); |
shouldBe("getComputedStyle(b2, null).backgroundColor", "green"); |
</script> |