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

Unified Diff: third_party/WebKit/LayoutTests/media/track/cue-style-invalidation.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/media/track/cue-style-invalidation.html
diff --git a/third_party/WebKit/LayoutTests/media/track/cue-style-invalidation.html b/third_party/WebKit/LayoutTests/media/track/cue-style-invalidation.html
index 3d2e9c6267cf70a1f99b8ad63c085ea84472a242..0b1414bf3933a086b223628605394a8e68751ea3 100644
--- a/third_party/WebKit/LayoutTests/media/track/cue-style-invalidation.html
+++ b/third_party/WebKit/LayoutTests/media/track/cue-style-invalidation.html
@@ -37,28 +37,28 @@ async_test(function(t) {
ascendant.offsetTop;
ascendant.classList.add("cue");
if (window.internals)
- assert_equals(internals.updateStyleAndReturnAffectedElementCount(), 9);
+ assert_equals(internals.updateStyleAndLayoutAndReturnAffectedElementCount(), 9);
assert_equals(getComputedStyle(cueNode).backgroundColor, green);
assert_equals(getComputedStyle(cNode).backgroundColor, red);
ascendant.offsetTop;
ascendant.classList.add("cuefunc");
if (window.internals)
- assert_equals(internals.updateStyleAndReturnAffectedElementCount(), 1);
+ assert_equals(internals.updateStyleAndLayoutAndReturnAffectedElementCount(), 1);
assert_equals(getComputedStyle(cNode).backgroundColor, green);
assert_equals(getComputedStyle(iNode).backgroundColor, red);
ascendant.offsetTop;
ascendant.classList.add("past");
if (window.internals)
- assert_equals(internals.updateStyleAndReturnAffectedElementCount(), 1);
+ assert_equals(internals.updateStyleAndLayoutAndReturnAffectedElementCount(), 1);
assert_equals(getComputedStyle(iNode).backgroundColor, green);
assert_equals(getComputedStyle(bNode).backgroundColor, red);
ascendant.offsetTop;
ascendant.classList.add("future");
if (window.internals)
- assert_equals(internals.updateStyleAndReturnAffectedElementCount(), 1);
+ assert_equals(internals.updateStyleAndLayoutAndReturnAffectedElementCount(), 1);
assert_equals(getComputedStyle(bNode).backgroundColor, green);
});
video.currentTime = 0.1;

Powered by Google App Engine
This is Rietveld 408576698