[webvtt] Pull Request: Editorial: Clarify ::cue(*) and ::cue(:root) and WebVTT Leaf Node Objects

danae404 has just submitted a new pull request for https://github.com/w3c/webvtt:

== Editorial: Clarify ::cue(*) and ::cue(:root) and WebVTT Leaf Node Objects ==
Add notes and examples to clarify that `::cue(*)` matches all WebVTT internal node objects, including the root list of WebVTT node objects, and to clarify that `::cue(:root)` is a valid selector and it matches the same elements as `::cue`.  

Because a universal selector is within the class of type selectors, delete the parenthical note in Example 22 that makes it seem that type selectors can never match the root.

Also add spacing around the section of Leaf Node Objects. The current spacing makes it easy to confuse it as a subclass of WebVTT Internal Node Objects.

See https://github.com/w3c/webvtt/pull/534


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 11 September 2025 19:52:36 UTC