snap-to-line.html (800B)
1 <!DOCTYPE html> 2 <html class="reftest-wait"> 3 <title>WebVTT rendering, set explicit 'line' and 'position', which will force 'snap-to-line' to false</title> 4 <link rel="match" href="snap-to-line-ref.html"> 5 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 6 <style> 7 html { overflow:hidden } 8 body { margin:0 } 9 ::cue { 10 font: 20px/1 Ahem; 11 color: green; 12 } 13 </style> 14 <script src="/common/reftest-wait.js"></script> 15 <video width="320" height="180" autoplay onplaying="this.onplaying = null; this.pause(); takeScreenshot();"> 16 <source src="/media/white.webm" type="video/webm"> 17 <source src="/media/white.mp4" type="video/mp4"> 18 <track src="support/snap-to-line.vtt"> 19 <script> 20 document.getElementsByTagName('track')[0].track.mode = 'showing'; 21 </script> 22 </video> 23 </html>