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

Unified Diff: third_party/WebKit/LayoutTests/media/track/track-css-all-cues.html

Issue 2268923003: Clean up textTrackDisplayElement utility function (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 4 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/track-css-all-cues.html
diff --git a/third_party/WebKit/LayoutTests/media/track/track-css-all-cues.html b/third_party/WebKit/LayoutTests/media/track/track-css-all-cues.html
index e43aa39ba05fca6a2e9d5c85c364401c4a83b546..5199babad1dc44a7312bc122d7a97c0f5c8e661a 100644
--- a/third_party/WebKit/LayoutTests/media/track/track-css-all-cues.html
+++ b/third_party/WebKit/LayoutTests/media/track/track-css-all-cues.html
@@ -28,7 +28,7 @@ async_test(function(t) {
video.appendChild(track);
video.onseeked = t.step_func_done(function() {
- var cueStyle = getComputedStyle(textTrackDisplayElement(video, 'cue'));
+ var cueStyle = getComputedStyle(textTrackCueElementByIndex(video, 0).firstChild);
assert_equals(cueStyle.color, 'rgb(128, 0, 128)');
assert_equals(cueStyle.backgroundColor, 'rgb(0, 255, 0)');
assert_equals(cueStyle.textDecorationLine, 'underline');

Powered by Google App Engine
This is Rietveld 408576698