Chromium Code Reviews| OLD | NEW |
|---|---|
| (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> | |
| OLD | NEW |