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

Side by Side Diff: LayoutTests/media/track/opera/track/webvtt/rendering/reftest/cue_too_long.html

Issue 1212753002: Convert tests (except fast/, imported/) using ahem font to ahem.js style (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <title>WebVTT rendering, size:50%, cue too long - should be cut</title> 3 <title>WebVTT rendering, size:50%, cue too long - should be cut</title>
4 <script src="../../../../../../../resources/ahem.js"></script>
4 <style> 5 <style>
5 html { overflow:hidden } 6 html { overflow:hidden }
6 body { margin:0 } 7 body { margin:0 }
7 ::cue { 8 ::cue {
8 font-family: Ahem, sans-serif; 9 font-family: Ahem, sans-serif;
9 color: green 10 color: green
10 } 11 }
11 </style> 12 </style>
12 <script src="support/refTestWait.js"></script> 13 <script src="support/refTestWait.js"></script>
13 <video width="1280" height="720" autoplay onplaying="this.onplaying = null; this .pause(); takeScreenshot();"> 14 <video width="1280" height="720" autoplay onplaying="this.onplaying = null; this .pause(); takeScreenshot();">
14 <source src="media/white.webm" type="video/webm"> 15 <source src="media/white.webm" type="video/webm">
15 <source src="media/white.mp4" type="video/mp4"> 16 <source src="media/white.mp4" type="video/mp4">
16 <track src="support/very_long_cue.vtt"> 17 <track src="support/very_long_cue.vtt">
17 </video> 18 </video>
18 <script> 19 <script>
19 document.getElementsByTagName('track')[0].track.mode = 'showing'; 20 document.getElementsByTagName('track')[0].track.mode = 'showing';
20 </script> 21 </script>
21 </html> 22 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698