| <!DOCTYPE html> |
| <html> |
| <title>WebVTT rendering, ::cue(root) should match nothing; the root element should have no name</title> |
| <link rel="match" href="type_selector_root-ref.html"> |
| <style> |
| html { overflow:hidden } |
| body { margin:0 } |
| ::cue(root) { |
| color:yellow; |
| background:red |
| } |
| </style> |
| <script src="/common/reftest-wait.js"></script> |
| <video width="1280" height="720" autoplay onplaying="this.onplaying = null; this.pause(); takeScreenshot();"> |
| <source src="/media/white.webm" type="video/webm"> |
| <source src="/media/white.mp4" type="video/mp4"> |
| <track src="../../support/test.vtt"> |
| <script> |
| document.getElementsByTagName('track')[0].track.mode = 'showing'; |
| </script> |
| </video> |
| </html> |