Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(194)

Unified Diff: LayoutTests/media/track/track-cue-rendering-position-auto-rtl-expected.html

Issue 851333003: WebVTT: Update cue alignment to a later spec. version (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added test. Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/media/track/track-cue-rendering-position-auto-rtl-expected.html
diff --git a/LayoutTests/media/track/track-cue-rendering-position-auto-expected.html b/LayoutTests/media/track/track-cue-rendering-position-auto-rtl-expected.html
similarity index 75%
copy from LayoutTests/media/track/track-cue-rendering-position-auto-expected.html
copy to LayoutTests/media/track/track-cue-rendering-position-auto-rtl-expected.html
index 40ba31560545441d951e6dd12e42ccb0eaca6ec8..3971674ccd6c976123a8d15975d1172b92b43111 100644
--- a/LayoutTests/media/track/track-cue-rendering-position-auto-expected.html
+++ b/LayoutTests/media/track/track-cue-rendering-position-auto-rtl-expected.html
@@ -18,13 +18,15 @@ var mediaFile = findMediaFile('video', '../content/test');
overflow: hidden;
}
.cue.start {
- text-align: start;
+ right: 50%;
philipj_slow 2015/01/22 15:27:59 The input here was { align: 'start', size: 50, lin
philipj_slow 2015/01/22 15:44:24 I'm just confused. The resulting box in which to p
+ text-align: end;
}
.cue.middle {
text-align: center;
}
.cue.end {
- text-align: end;
+ left: 50%;
+ text-align: start;
}
.cue > span {
font-family: sans-serif;
@@ -36,13 +38,13 @@ var mediaFile = findMediaFile('video', '../content/test');
</style>
<div class="container">
<video><script>document.currentScript.parentNode.src = mediaFile;</script></video>
- <div class=video><div class="cue start"><span>XXX</span></div></div>
+ <div class=video><div class="cue start"><span>&#x5d0;&#x5d1;&#x5d2;</span></div></div>
</div>
<div class="container">
<video><script>document.currentScript.parentNode.src = mediaFile;</script></video>
- <div class=video><div class="cue middle"><span>XXX</span></div></div>
+ <div class=video><div class="cue middle"><span>&#x5d0;&#x5d1;&#x5d2;</span></div></div>
</div>
<div class="container">
<video><script>document.currentScript.parentNode.src = mediaFile;</script></video>
- <div class=video><div class="cue end"><span>XXX</span></div></div>
+ <div class=video><div class="cue end"><span>&#x5d0;&#x5d1;&#x5d2;</span></div></div>
</div>
« no previous file with comments | « LayoutTests/media/track/track-cue-rendering-position-auto-rtl.html ('k') | Source/core/html/track/vtt/VTTCue.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698