Index: third_party/WebKit/LayoutTests/fast/css/invalidation/webkit-any-universal.html |
diff --git a/third_party/WebKit/LayoutTests/fast/css/invalidation/webkit-any-universal.html b/third_party/WebKit/LayoutTests/fast/css/invalidation/webkit-any-universal.html |
index 5e39ab0d2520485b222f8b14e07f7d898a217cf9..657975571d3df6ac0546602b82c924fd2a348a3c 100644 |
--- a/third_party/WebKit/LayoutTests/fast/css/invalidation/webkit-any-universal.html |
+++ b/third_party/WebKit/LayoutTests/fast/css/invalidation/webkit-any-universal.html |
@@ -28,7 +28,7 @@ test(function() { |
assert_equals(getComputedStyle(r1).backgroundColor, "rgba(0, 0, 0, 0)", "Background color should initially be transparent"); |
t1.className = "t1"; |
- assert_equals(internals.updateStyleAndReturnAffectedElementCount(), 2, "Subtree style recalc"); |
+ assert_equals(internals.updateStyleAndLayoutAndReturnAffectedElementCount(), 2, "Subtree style recalc"); |
assert_equals(getComputedStyle(r1).backgroundColor, "rgb(0, 128, 0)", "Background color is green after class change"); |
}, ":-webkit-any() with universal selector"); |
@@ -36,7 +36,7 @@ test(function() { |
assert_equals(getComputedStyle(r2).backgroundColor, "rgba(0, 0, 0, 0)", "Background color should initially be transparent"); |
t2.className = "t2"; |
- assert_equals(internals.updateStyleAndReturnAffectedElementCount(), 2, "Subtree style recalc"); |
+ assert_equals(internals.updateStyleAndLayoutAndReturnAffectedElementCount(), 2, "Subtree style recalc"); |
assert_equals(getComputedStyle(r2).backgroundColor, "rgb(0, 128, 0)", "Background color is green after class change"); |
}, "Nested :-webkit-any() with universal selector"); |
@@ -45,7 +45,7 @@ test(function() { |
assert_equals(getComputedStyle(r3).backgroundColor, "rgba(0, 0, 0, 0)", "Background color should initially be transparent"); |
t3.className = "t3"; |
- assert_equals(internals.updateStyleAndReturnAffectedElementCount(), 2, "Subtree style recalc"); |
+ assert_equals(internals.updateStyleAndLayoutAndReturnAffectedElementCount(), 2, "Subtree style recalc"); |
assert_equals(getComputedStyle(r3).backgroundColor, "rgb(0, 128, 0)", "Background color is green after class change"); |
}, ":-webkit-any() with universal :focus selector"); |
</script> |