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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/webvtt/rendering/cues-with-video/processing-model/navigate_cue_position-ref-1.html

Issue 2695813009: Import wpt@503f5b5f78ec4e87d144f78609f363f0ed0ea8db (Closed)
Patch Set: Skip some tests Created 3 years, 10 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <title>Reference for WebVTT rendering, cue position after navigation</title> 2 <title>Reference for WebVTT rendering, cue position after navigation</title>
3 <style> 3 <style>
4 .video { 4 .video {
5 display: inline-block; 5 display: inline-block;
6 outline: solid; 6 outline: solid;
7 width: 320px; 7 width: 320px;
8 height: 240px; 8 height: 240px;
9 position: relative 9 position: relative;
10 font-size: 50px;
10 } 11 }
11 video { 12 video {
12 position: absolute; 13 position: absolute;
13 width:320px; 14 width:320px;
14 height:240px; 15 height:240px;
15 } 16 }
16 .cue { 17 .cue {
17 position: absolute; 18 position: absolute;
18 bottom: 50px; 19 bottom: 50px;
19 left: 0; 20 left: 0;
20 right: 0; 21 right: 0;
21 text-align: center 22 text-align: center
22 } 23 }
23 .cue > span { 24 .cue > span {
24 font-family: Ahem, sans-serif; 25 font-family: Ahem, sans-serif;
25 background: rgba(0,0,0,0.8); 26 background: rgba(0,0,0,0.8);
26 color: green; 27 color: green;
27 font-size: 50px;
28 } 28 }
29 </style> 29 </style>
30 <video controls> 30 <video controls>
31 <source src="/media/white.webm" type="video/webm"> 31 <source src="/media/white.webm" type="video/webm">
32 <source src="/media/white.mp4" type="video/mp4"> 32 <source src="/media/white.mp4" type="video/mp4">
33 </video> 33 </video>
34 <div class="video"><span class="cue"><span>Foo</span></span></div> 34 <div class="video"><span class="cue"><span>Foo</span></span></div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698