| WEBVTT |
| NOTE |
| The first six selectors should apply. The rest should not apply because they do |
| not apply to a hypothetical document with a single empty element with no explicit |
| name, no namespace, no attribute, no classes, no IDs, and unknown primary language |
| that acts as the originating element for the cue pseudo-elements. |
| STYLE |
| @namespace html url(http://www.w3.org/1999/xhtml); |
| :not(video)::cue { |
| background: lime; |
| } |
| *|*::cue(b) { |
| background: green; |
| } |
| |*::cue(i) { |
| color: green; |
| } |
| ::cue(i) { |
| background: green; |
| } |
| *::cue(b) { |
| color: green; |
| } |
| ::cue { |
| font-size: 11px; |
| } |
| video::cue { |
| background: red; |
| } |
| :not(|*)::cue { |
| background: red; |
| } |
| i { |
| color: red; |
| } |
| * { |
| color: red; |
| } |
| * ::cue(i) { |
| color: red; |
| } |
| * > *::cue(i) { |
| color: red; |
| } |
| * + *::cue(i) { |
| color: red; |
| } |
| html|*::cue(i) { |
| color: red; |
| } |
| 00:00:00.000 --> 00:00:05.000 |
| <v Voice1>This <i>is</i> a <b>test</b> subtitle |
| 00:00:00.000 --> 00:00:05.000 |
| <v Voice2>Here <i>is</i> a <b>second</b> subtitle |