| Index: third_party/WebKit/LayoutTests/media/track/track-cue-rendering.html
|
| diff --git a/third_party/WebKit/LayoutTests/media/track/track-cue-rendering.html b/third_party/WebKit/LayoutTests/media/track/track-cue-rendering.html
|
| index d88822053854eb482a44864b11e6c0f55ddca36f..13f7ce90b5a5f27b3f96f749451f4888d70b22e7 100644
|
| --- a/third_party/WebKit/LayoutTests/media/track/track-cue-rendering.html
|
| +++ b/third_party/WebKit/LayoutTests/media/track/track-cue-rendering.html
|
| @@ -20,7 +20,7 @@ async_test(function(t) {
|
| assert_equals(testTrack.track.activeCues.length, 1);
|
| assert_equals(testTrack.track.activeCues[0].text, cueText[cueTextIndex]);
|
|
|
| - var testCueDisplayBox = textTrackDisplayElement(video, "display");
|
| + var testCueDisplayBox = textTrackDisplayElement(video);
|
| assert_equals(testCueDisplayBox.innerText, cueText[cueTextIndex]);
|
| assert_equals(2 * testCueDisplayBox.offsetLeft, video.videoWidth - testCueDisplayBox.offsetWidth)
|
|
|
| @@ -31,9 +31,9 @@ async_test(function(t) {
|
| testFontSize(1280, 960);
|
| testFontSize(2560, 1440);
|
|
|
| - assert_equals(getComputedStyle(textTrackDisplayElement(video)).fontFamily, "sans-serif");
|
| - assert_equals(getComputedStyle(textTrackDisplayElement(video)).color, "rgb(255, 255, 255)");
|
| - assert_equals(getComputedStyle(textTrackDisplayElement(video, "display").firstChild).backgroundColor, "rgba(0, 0, 0, 0.8)");
|
| + assert_equals(getComputedStyle(textTrackContainerElement(video)).fontFamily, "sans-serif");
|
| + assert_equals(getComputedStyle(textTrackContainerElement(video)).color, "rgb(255, 255, 255)");
|
| + assert_equals(getComputedStyle(textTrackDisplayElement(video).firstChild).backgroundColor, "rgba(0, 0, 0, 0.8)");
|
|
|
| t.done();
|
| } else {
|
| @@ -46,7 +46,7 @@ async_test(function(t) {
|
| video.height = height;
|
| // Force a relayout of the document
|
| document.body.offsetTop;
|
| - assert_equals(getComputedStyle(textTrackDisplayElement(video)).fontSize, parseInt(height * 0.05) + "px");
|
| + assert_equals(getComputedStyle(textTrackContainerElement(video)).fontSize, parseInt(height * 0.05) + "px");
|
| }
|
|
|
| video.currentTime = 0.5;
|
|
|