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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/webvtt/rendering/cues-with-video/processing-model/selectors/cue_function/white-space_pre-wrap_wrapped-ref.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(), white-space: pre-wrap (cue that wraps)</title> 2 <title>Reference for WebVTT rendering, ::cue(), white-space: pre-wrap (cue that wraps)</title>
3 <style> 3 <style>
4 html { overflow:hidden } 4 html { overflow:hidden }
5 body { margin:0 } 5 body { margin:0 }
6 .video { 6 .video {
7 display: inline-block; 7 display: inline-block;
8 width: 1280px; 8 width: 320px;
9 height: 720px; 9 height: 180px;
10 font-size: 36px; 10 font-size: 9px;
11 position: relative 11 position: relative
12 } 12 }
13 .cue { 13 .cue {
14 position: absolute; 14 position: absolute;
15 bottom: 0; 15 bottom: 0;
16 left: 30%; 16 left: 30%;
17 right: 0; 17 right: 0;
18 width: 40%; 18 width: 40%;
19 font-family: sans-serif; 19 font-family: sans-serif;
20 text-align: center; 20 text-align: center;
21 } 21 }
22 .cue > span { 22 .cue > span {
23 background: rgba(0,0,0,0.8); 23 background: rgba(0,0,0,0.8);
24 color: white; 24 color: white;
25 white-space: pre 25 white-space: pre
26 } 26 }
27 </style> 27 </style>
28 <div class="video"><span class="cue"><span>A A A A A <br> A <br>A A A A A</span></span></div> 28 <div class="video"><span class="cue"><span>A A A A A <br> A <br>A A A A A</span></span></div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698