Skip to content

Commit

Permalink
Expose a lang attribute on the root for the purpose of Selectors
Browse files Browse the repository at this point in the history
  • Loading branch information
zcorpan committed Nov 16, 2015
1 parent bd60d2f commit a09e733
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
10 changes: 7 additions & 3 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -4376,9 +4376,13 @@ being treated as follows:</p>
<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
the <a>WebVTT Voice Object</a>, and <a lt="WebVTT Language Object">WebVTT Language Objects</a>,
which have a single attribute named "<code>lang</code>" whose value is the object's <a lt="WebVTT
Node Object's applicable language">applicable language</a>.</p></li>
the <a>WebVTT Voice Object</a>, <a lt="WebVTT Language Object">WebVTT Language Objects</a>, which
have a single attribute named "<code>lang</code>" whose value is the object's <a lt="WebVTT Node
Object's applicable language">applicable language</a>, and <a lt="list of WebVTT Node
Objects">lists of WebVTT Node Objects</a> that have a non-empty <a lt="WebVTT Node Object's
applicable language">applicable language</a>, which have a single attribute named
"<code>lang</code>" whose value is the object's <a lt="WebVTT Node Object's applicable
language">applicable language</a>.</p></li>

<li><p>For the purposes of class selector matching, <a lt="WebVTT Internal Node Object">WebVTT
Internal Node Objects</a> have the classes described as the <a>WebVTT Node Object's applicable
Expand Down
5 changes: 3 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4149,8 +4149,9 @@ <h5 class="heading settled" data-level="6.1.2.1" id="the-cue-pseudo-element"><sp
<p>For the purposes of attribute selector matching, <a data-link-type="dfn" href="#webvtt-internal-node-object">WebVTT
Internal Node Objects</a> have no attributes, except for <a data-link-type="dfn" href="#webvtt-voice-object">WebVTT Voice
Objects</a>, which have a single attribute named "<code>voice</code>" whose value is the value of
the <a data-link-type="dfn" href="#webvtt-voice-object">WebVTT Voice Object</a>, and <a data-link-type="dfn" href="#webvtt-language-object">WebVTT Language Objects</a>,
which have a single attribute named "<code>lang</code>" whose value is the object’s <a data-link-type="dfn" href="#webvtt-node-objects-applicable-language">applicable language</a>.</p>
the <a data-link-type="dfn" href="#webvtt-voice-object">WebVTT Voice Object</a>, <a data-link-type="dfn" href="#webvtt-language-object">WebVTT Language Objects</a>, which
have a single attribute named "<code>lang</code>" whose value is the object’s <a data-link-type="dfn" href="#webvtt-node-objects-applicable-language">applicable language</a>, and <a data-link-type="dfn" href="#list-of-webvtt-node-objects">lists of WebVTT Node Objects</a> that have a non-empty <a data-link-type="dfn" href="#webvtt-node-objects-applicable-language">applicable language</a>, which have a single attribute named
"<code>lang</code>" whose value is the object’s <a data-link-type="dfn" href="#webvtt-node-objects-applicable-language">applicable language</a>.</p>
<li>
<p>For the purposes of class selector matching, <a data-link-type="dfn" href="#webvtt-internal-node-object">WebVTT
Internal Node Objects</a> have the classes described as the <a data-link-type="dfn" href="#webvtt-node-objects-applicable-classes">WebVTT Node Object’s applicable
Expand Down

0 comments on commit a09e733

Please sign in to comment.