Index: LayoutTests/fast/css/invalidation/targeted-class-host-context.html |
diff --git a/LayoutTests/fast/css/invalidation/targeted-class-host-context.html b/LayoutTests/fast/css/invalidation/targeted-class-host-context.html |
index cce6b2bfc4ca6cac654c88d97e2fd57ba9aec5ed..df38980fdd374944bf40f43d5fca9e77c53a83e5 100644 |
--- a/LayoutTests/fast/css/invalidation/targeted-class-host-context.html |
+++ b/LayoutTests/fast/css/invalidation/targeted-class-host-context.html |
@@ -38,7 +38,7 @@ test(function(){ |
assert_equals(getComputedStyle(inner, "").backgroundColor, transparent, "Background color before class change."); |
t2.className = "t2"; |
if (window.internals) |
- assert_equals(internals.updateStyleAndReturnAffectedElementCount(), 8, "Element recalc count on class change."); |
+ assert_equals(internals.updateStyleAndReturnAffectedElementCount(), 2, "Element recalc count on class change."); |
assert_equals(getComputedStyle(inner, "").backgroundColor, green, "Background color after class change."); |
}, "Matching id descendant of :host-context with class."); |