Index: LayoutTests/media/track/track-cue-rendering-position-auto-rtl.html |
diff --git a/LayoutTests/media/track/track-cue-rendering-position-auto.html b/LayoutTests/media/track/track-cue-rendering-position-auto-rtl.html |
similarity index 69% |
copy from LayoutTests/media/track/track-cue-rendering-position-auto.html |
copy to LayoutTests/media/track/track-cue-rendering-position-auto-rtl.html |
index ddf9422ffb451054a64b991ed0544c6255f5ad6a..10c433f33c844af42fc24cb4a65c9370aac2982d 100644 |
--- a/LayoutTests/media/track/track-cue-rendering-position-auto.html |
+++ b/LayoutTests/media/track/track-cue-rendering-position-auto-rtl.html |
@@ -3,9 +3,9 @@ |
<script> |
var mediaFile = findMediaFile('video', '../content/test'); |
-function addTrackWithCueData(video, cueData) { |
+function addTrackWithRtlCueData(video, cueData) { |
var track = video.addTextTrack('subtitles'); |
- var cue = new VTTCue(0, 10, 'XXX'); |
+ var cue = new VTTCue(0, 10, '\u05d0\u05d1\u05d2'); |
for (var prop in cueData) |
cue[prop] = cueData[prop]; |
track.addCue(cue); |
@@ -22,21 +22,21 @@ video::cue { |
<video> |
<script> |
var video = document.currentScript.parentNode; |
- addTrackWithCueData(video, { align: 'start', line: 0 }); |
+ addTrackWithRtlCueData(video, { align: 'start', size: 50, line: 0 }); |
video.src = mediaFile; |
</script> |
</video> |
<video> |
<script> |
var video = document.currentScript.parentNode; |
- addTrackWithCueData(video, { align: 'middle', line: 0 }); |
+ addTrackWithRtlCueData(video, { align: 'middle', size: 50, line: 0 }); |
video.src = mediaFile; |
</script> |
</video> |
<video> |
<script> |
var video = document.currentScript.parentNode; |
- addTrackWithCueData(video, { align: 'end', line: 0 }); |
+ addTrackWithRtlCueData(video, { align: 'end', size: 50, line: 0 }); |
video.src = mediaFile; |
</script> |
</video> |