Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 30 additions & 2 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -5043,8 +5043,7 @@ present in the <{video}> element's document tree.</p>
</pre>
</td>
<td class=long>
<p><a>WebVTT Internal Node Objects</a> (except the root <a>list of WebVTT Node Objects</a>)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should the except the root parenthetical be removed from the class selector example below (line 5099) as well?

Copy link
Author

@danae404 danae404 Oct 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I dont think you can assign a class to plain text in the cue; you have to encompass the text in a <c> to give it a class. So keeping the parenthesis still makes sense.

with the given name.</p>
<p><a>WebVTT Internal Node Objects</a> with the given name.</p>

<pre>
WEBVTT
Expand All @@ -5061,6 +5060,30 @@ present in the <{video}> element's document tree.</p>
</pre>
</td>
</tr>
<tr>
<td class=long>
<p><a>Universal selector</a> in ''::cue()''</p>

<pre>
video::cue(*:not(:root)) {
color: yellow;
}
</pre>
</td>
<td class=long>
<p>All <a>WebVTT Internal Node Objects</a></p>

<pre>
WEBVTT

00:00:00.000 --> 00:00:08.000
White!
&lt;c>Yellow!&lt;/c>
&lt;i>Yellow!&lt;/i>
&lt;u>Yellow!&lt;/u>
</pre>
</td>
</tr>
<tr>
<td class=long>
<p><a>Class selector</a> in ''::cue()''</p>
Expand Down Expand Up @@ -5406,6 +5429,11 @@ being treated as follows:</p>
Object">WebVTT Internal Node Objects</a> are considered as being in the namespace expressed as the
empty string.</p></li>

<li><p class=note>The <a>universal selector</a> matches all <a>WebVTT Internal Node Objects</a>, including the
root <a>list of WebVTT Node Objects</a>.</p></li>

<li><p class=note>''::cue(:root)'' is equivalent to ''::cue''.</p></li>

<li><p>For the purposes of attribute selector matching, <a lt="WebVTT Internal Node Object">WebVTT
Internal Node Objects</a> have no attributes, except for <a lt="WebVTT Voice Object">WebVTT Voice
Objects</a>, which have a single attribute named "<code>voice</code>" whose value is the value of
Expand Down