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

Side by Side Diff: third_party/WebKit/LayoutTests/media/track/track-cue-rendering-transformed-video-expected.html

Issue 2377193003: Don't use absolute bounding boxes in LayoutVTTCue (Closed)
Patch Set: Extend comments; adjust test Created 4 years, 2 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
(Empty)
1 <!DOCTYPE html>
2 <script src="../media-file.js"></script>
3 <style>
4 .container {
5 transform: translate(1px, 0px);
6 position: relative;
7 display: inline-block;
8 width: 320px;
9 height: 240px;
10 }
11 .cue {
12 position: absolute;
13 top: 0;
14 left: 0;
15 right: 0;
16 overflow: hidden;
17 text-align: start;
18 }
19 .cue > span {
20 font-family: sans-serif;
21 background: green;
22 color: green;
23 font-size: 50px;
24 padding: 2px;
25 }
26 </style>
27 <div class="container">
28 <video>
29 <script>
30 document.currentScript.parentNode.src = findMediaFile('video', '../content /test');
31 </script>
32 </video>
33 <div class=video><div class="cue"><span>XXX</span></div></div>
34 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698