--- /home/clopez/webkit/webkit/layout-test-results/media/track/track-cue-rendering-expected.txt +++ /home/clopez/webkit/webkit/layout-test-results/media/track/track-cue-rendering-actual.txt @@ -5,7 +5,7 @@ EXPECTED (video.currentTime == '0.5') OK EXPECTED (testTrack.track.activeCues.length == '1') OK EXPECTED (testTrack.track.activeCues[0].text == 'Lorem') OK -EXPECTED (testCueDisplayBox.innerText == 'Lorem') OK +EXPECTED (testCueDisplayBox.innerText == 'Lorem'), OBSERVED 'Lorem ' FAIL EXPECTED (2 * testCueDisplayBox.offsetLeft == video.videoWidth - testCueDisplayBox.offsetWidth == 'true') OK RUN(video.currentTime = 1.5) @@ -13,7 +13,7 @@ EXPECTED (video.currentTime == '1.5') OK EXPECTED (testTrack.track.activeCues.length == '1') OK EXPECTED (testTrack.track.activeCues[0].text == 'ipsum') OK -EXPECTED (testCueDisplayBox.innerText == 'ipsum') OK +EXPECTED (testCueDisplayBox.innerText == 'ipsum'), OBSERVED 'ipsum ' FAIL EXPECTED (2 * testCueDisplayBox.offsetLeft == video.videoWidth - testCueDisplayBox.offsetWidth == 'true') OK RUN(video.currentTime = 2.5) @@ -21,7 +21,7 @@ EXPECTED (video.currentTime == '2.5') OK EXPECTED (testTrack.track.activeCues.length == '1') OK EXPECTED (testTrack.track.activeCues[0].text == 'dolor') OK -EXPECTED (testCueDisplayBox.innerText == 'dolor') OK +EXPECTED (testCueDisplayBox.innerText == 'dolor'), OBSERVED 'dolor ' FAIL EXPECTED (2 * testCueDisplayBox.offsetLeft == video.videoWidth - testCueDisplayBox.offsetWidth == 'true') OK RUN(video.currentTime = 3.5) @@ -29,7 +29,7 @@ EXPECTED (video.currentTime == '3.5') OK EXPECTED (testTrack.track.activeCues.length == '1') OK EXPECTED (testTrack.track.activeCues[0].text == 'sit') OK -EXPECTED (testCueDisplayBox.innerText == 'sit') OK +EXPECTED (testCueDisplayBox.innerText == 'sit'), OBSERVED 'sit ' FAIL EXPECTED (2 * testCueDisplayBox.offsetLeft == video.videoWidth - testCueDisplayBox.offsetWidth == 'true') OK Test the cue display colors and font. @@ -51,7 +51,7 @@ EXPECTED (getComputedStyle(currentCue).fontFamily == 'sans-serif') OK EXPECTED (getComputedStyle(currentCue).color == 'rgb(255, 255, 255)') OK -EXPECTED (getComputedStyle(textTrackDisplayElement(video, 'display').firstChild).backgroundColor == 'rgba(0, 0, 0, 0.8)') OK +EXPECTED (getComputedStyle(textTrackDisplayElement(video, 'display').firstChild).backgroundColor == 'rgba(0, 0, 0, 0.8)'), OBSERVED 'rgba(0, 0, 0, 0)' FAIL END OF TEST