Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Unified Diff: third_party/WebKit/LayoutTests/fast/css/invalidation/webkit-any-universal.html

Issue 1896793002: Rename (updateLayout/updateStyle).*.() to updateStyleAndLayout.*.() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>

Powered by Google App Engine
This is Rietveld 408576698