/home/clopez/webkit/webkit/layout-test-results/media/track/track-cue-rendering-actual.txt

55EXPECTED (video.currentTime == '0.5') OK
66EXPECTED (testTrack.track.activeCues.length == '1') OK
77EXPECTED (testTrack.track.activeCues[0].text == 'Lorem') OK
8 EXPECTED (testCueDisplayBox.innerText == 'Lorem') OK
 8EXPECTED (testCueDisplayBox.innerText == 'Lorem'), OBSERVED 'Lorem ' FAIL
99EXPECTED (2 * testCueDisplayBox.offsetLeft == video.videoWidth - testCueDisplayBox.offsetWidth == 'true') OK
1010
1111RUN(video.currentTime = 1.5)

1313EXPECTED (video.currentTime == '1.5') OK
1414EXPECTED (testTrack.track.activeCues.length == '1') OK
1515EXPECTED (testTrack.track.activeCues[0].text == 'ipsum') OK
16 EXPECTED (testCueDisplayBox.innerText == 'ipsum') OK
 16EXPECTED (testCueDisplayBox.innerText == 'ipsum'), OBSERVED 'ipsum ' FAIL
1717EXPECTED (2 * testCueDisplayBox.offsetLeft == video.videoWidth - testCueDisplayBox.offsetWidth == 'true') OK
1818
1919RUN(video.currentTime = 2.5)

2121EXPECTED (video.currentTime == '2.5') OK
2222EXPECTED (testTrack.track.activeCues.length == '1') OK
2323EXPECTED (testTrack.track.activeCues[0].text == 'dolor') OK
24 EXPECTED (testCueDisplayBox.innerText == 'dolor') OK
 24EXPECTED (testCueDisplayBox.innerText == 'dolor'), OBSERVED 'dolor ' FAIL
2525EXPECTED (2 * testCueDisplayBox.offsetLeft == video.videoWidth - testCueDisplayBox.offsetWidth == 'true') OK
2626
2727RUN(video.currentTime = 3.5)

2929EXPECTED (video.currentTime == '3.5') OK
3030EXPECTED (testTrack.track.activeCues.length == '1') OK
3131EXPECTED (testTrack.track.activeCues[0].text == 'sit') OK
32 EXPECTED (testCueDisplayBox.innerText == 'sit') OK
 32EXPECTED (testCueDisplayBox.innerText == 'sit'), OBSERVED 'sit ' FAIL
3333EXPECTED (2 * testCueDisplayBox.offsetLeft == video.videoWidth - testCueDisplayBox.offsetWidth == 'true') OK
3434
3535Test the cue display colors and font.

5151
5252EXPECTED (getComputedStyle(currentCue).fontFamily == 'sans-serif') OK
5353EXPECTED (getComputedStyle(currentCue).color == 'rgb(255, 255, 255)') OK
54 EXPECTED (getComputedStyle(textTrackDisplayElement(video, 'display').firstChild).backgroundColor == 'rgba(0, 0, 0, 0.8)') OK
 54EXPECTED (getComputedStyle(textTrackDisplayElement(video, 'display').firstChild).backgroundColor == 'rgba(0, 0, 0, 0.8)'), OBSERVED 'rgba(0, 0, 0, 0)' FAIL
5555
5656END OF TEST
5757