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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-class-host-context.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/targeted-class-host-context.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-class-host-context.html b/third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-class-host-context.html
index c1eb0bd89e96420eecb99384762cd45cb1b2ec61..599c5a4efcc4c580146aa0452451f428e14c26fa 100644
--- a/third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-class-host-context.html
+++ b/third_party/WebKit/LayoutTests/fast/css/invalidation/targeted-class-host-context.html
@@ -29,7 +29,7 @@ test(function(){
assert_equals(getComputedStyle(host1, "").backgroundColor, transparent, "Background color before class change.");
t1.className = "t1";
if (window.internals)
- assert_equals(internals.updateStyleAndReturnAffectedElementCount(), 8, "Element recalc count on class change.");
+ assert_equals(internals.updateStyleAndLayoutAndReturnAffectedElementCount(), 8, "Element recalc count on class change.");
assert_equals(getComputedStyle(host1, "").backgroundColor, green, "Background color after class change.");
}, "Matching :host-context with class.");
@@ -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(), 1, "Element recalc count on class change.");
+ assert_equals(internals.updateStyleAndLayoutAndReturnAffectedElementCount(), 1, "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.");
@@ -46,7 +46,7 @@ test(function(){
assert_equals(getComputedStyle(host3, "").backgroundColor, transparent, "Background color before class change.");
t3.className = "";
if (window.internals)
- assert_equals(internals.updateStyleAndReturnAffectedElementCount(), 8, "Element recalc count on class change.");
+ assert_equals(internals.updateStyleAndLayoutAndReturnAffectedElementCount(), 8, "Element recalc count on class change.");
assert_equals(getComputedStyle(host3, "").backgroundColor, green, "Background color after class change.");
}, "Matching :host-context with id and negated class.");
@@ -54,7 +54,7 @@ test(function(){
assert_equals(getComputedStyle(host4, "").backgroundColor, transparent, "Background color before class change.");
t4.className = "t4";
if (window.internals)
- assert_equals(internals.updateStyleAndReturnAffectedElementCount(), 8, "Element recalc count on class change.");
+ assert_equals(internals.updateStyleAndLayoutAndReturnAffectedElementCount(), 8, "Element recalc count on class change.");
assert_equals(getComputedStyle(host4, "").backgroundColor, green, "Background color after class change.");
}, "Matching :host-context with selector list of classes.");
</script>

Powered by Google App Engine
This is Rietveld 408576698