--- /home/clopez/webkit/webkit/layout-test-results/media/track/track-cue-rendering-rtl-expected.txt +++ /home/clopez/webkit/webkit/layout-test-results/media/track/track-cue-rendering-rtl-actual.txt @@ -9,7 +9,7 @@ EXPECTED (video.currentTime == '0.25') OK EXPECTED (testTrack.track.activeCues.length == '1') OK EXPECTED (testTrack.track.activeCues[0].text == 'تجربة') OK -EXPECTED (testCueDisplayBox.innerText == 'تجربة') OK +EXPECTED (testCueDisplayBox.innerText == 'تجربة'), OBSERVED 'تجربة ' FAIL ** The position should be default and CSS direction set to rtl ** EXPECTED (2 * testCueDisplayBox.offsetLeft == video.videoWidth - testCueDisplayBox.offsetWidth == 'true') OK @@ -22,7 +22,7 @@ EXPECTED (video.currentTime == '0.75') OK EXPECTED (testTrack.track.activeCues.length == '1') OK EXPECTED (testTrack.track.activeCues[0].text == ' 1234') OK -EXPECTED (testCueDisplayBox.innerText == ' 1234') OK +EXPECTED (testCueDisplayBox.innerText == ' 1234'), OBSERVED ' 1234 ' FAIL ** The position should be default and CSS direction set to ltr ** EXPECTED (2 * testCueDisplayBox.offsetLeft == video.videoWidth - testCueDisplayBox.offsetWidth == 'true') OK @@ -35,7 +35,7 @@ EXPECTED (video.currentTime == '1.25') OK EXPECTED (testTrack.track.activeCues.length == '1') OK EXPECTED (testTrack.track.activeCues[0].text == 'تجربة LTR new line, but cue should be RTL') OK -EXPECTED (testCueDisplayBox.innerText == 'تجربة LTR new line, but cue should be RTL') OK +EXPECTED (testCueDisplayBox.innerText == 'تجربة LTR new line, but cue should be RTL'), OBSERVED 'تجربة LTR new line, but cue should be RTL ' FAIL ** The position should be default and CSS direction set to rtl ** EXPECTED (2 * testCueDisplayBox.offsetLeft == video.videoWidth - testCueDisplayBox.offsetWidth == 'true') OK @@ -48,7 +48,7 @@ EXPECTED (video.currentTime == '1.75') OK EXPECTED (testTrack.track.activeCues.length == '1') OK EXPECTED (testTrack.track.activeCues[0].text == 'LTR cue تجربة') OK -EXPECTED (testCueDisplayBox.innerText == 'LTR cue تجربة') OK +EXPECTED (testCueDisplayBox.innerText == 'LTR cue تجربة'), OBSERVED 'LTR cue تجربة ' FAIL ** The position should be default and CSS direction set to ltr ** EXPECTED (2 * testCueDisplayBox.offsetLeft == video.videoWidth - testCueDisplayBox.offsetWidth == 'true') OK @@ -61,7 +61,7 @@ EXPECTED (video.currentTime == '2.25') OK EXPECTED (testTrack.track.activeCues.length == '1') OK EXPECTED (testTrack.track.activeCues[0].text == ';1234تجربة') OK -EXPECTED (testCueDisplayBox.innerText == ';1234تجربة') OK +EXPECTED (testCueDisplayBox.innerText == ';1234تجربة'), OBSERVED ';1234تجربة ' FAIL ** The position should be default and CSS direction set to rtl ** EXPECTED (2 * testCueDisplayBox.offsetLeft == video.videoWidth - testCueDisplayBox.offsetWidth == 'true') OK @@ -74,7 +74,7 @@ EXPECTED (video.currentTime == '2.75') OK EXPECTED (testTrack.track.activeCues.length == '1') OK EXPECTED (testTrack.track.activeCues[0].text == ' ०१२३४५६७८९ ') OK -EXPECTED (testCueDisplayBox.innerText == ' ०१२३४५६७८९ ') OK +EXPECTED (testCueDisplayBox.innerText == ' ०१२३४५६७८९ '), OBSERVED ' ०१२३४५६७८९ ' FAIL ** The position should be default and CSS direction set to ltr ** EXPECTED (2 * testCueDisplayBox.offsetLeft == video.videoWidth - testCueDisplayBox.offsetWidth == 'true') OK