Skip to content

Commit

Permalink
Remove the VTTRegion.track and .id attributes
Browse files Browse the repository at this point in the history
https://www.w3.org/Bugs/Public/show_bug.cgi?id=24380

There are still uses of the region identifier concept to clean up,
in the parser and in getRegionById().
  • Loading branch information
foolip committed Jan 29, 2014
1 parent 9a2f18a commit 6db2325
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions webvtt.html
Expand Up @@ -5409,8 +5409,6 @@ <h3>VTTRegion interface</h3>
enum <dfn>ScrollSetting</dfn> { "" /* none */, "up" };
[Constructor]
interface <dfn>VTTRegion</dfn> {
readonly attribute TextTrack? <a title="dom-VTTRegion-track">track</a>;
attribute DOMString <a title="dom-VTTRegion-id">id</a>;
attribute double <a title="dom-VTTRegion-width">width</a>;
attribute long <a title="dom-VTTRegion-lines">lines</a>;
attribute double <a title="dom-VTTRegion-regionAnchorX">regionAnchorX</a>;
Expand All @@ -5427,16 +5425,6 @@ <h3>VTTRegion interface</h3>
<p>Returns a new <code>VTTRegion</code> object, for use with the <code title="dom-TextTrack-addRegion">addRegion()</code> method.</p>
</dd>

<dt><var title="">region</var> . <a title="dom-VTTRegion-track">track</a></dt>
<dd>
<p>Returns the <var>TextTrack</var> object to which this text track region belongs, if any, or null otherwise.</p>
</dd>

<dt><var title="">region</var> . <a title="dom-VTTRegion-id">id</a></dt>
<dd>
<p>Returns the text track region identifier. Can be set.</p>
</dd>

<dt><var title="">region</var> . <a title="dom-VTTRegion-width">width</a></dt>
<dd>
<p>Returns the text track region width as a percentage of the video width. Can be set. Throws an IndexSizeError if the new value is not in the range 0.0% .. 100.0%.</p>
Expand Down Expand Up @@ -5504,10 +5492,6 @@ <h3>VTTRegion interface</h3>
<li><p>Return the <code>VTTRegion</code> object representing region.</p></li>
</ol>

<p>The <dfn title="dom-VTTRegion-track"><code>track</code></dfn> attribute, on getting, must return the <code>TextTrack</code> object of the <a>text track</a> in whose list of regions the <a>text track region</a> that the <code>VTTRegion</code> object represents finds itself, if any; or null otherwise.</p>

<p>The <dfn title="dom-VTTRegion-id"><code>id</code></dfn> attribute, on getting, must return the <a>text track region identifier</a> of the <a>text track region</a> that the <a><code>VTTRegion</code></a> object represents. On setting, the <a>text track region identifier</a> must be set to the new value.</p>

<p>The <dfn title="dom-VTTRegion-width"><code>width</code></dfn> attribute, on getting, must return the <a>text track region width</a> of the <a>text track region</a> that the <code>VTTRegion</code> object represents, in percent of video width. On setting, the <a>text track region width</a> must be set to the new value, interpreted as a percentage.</p>

<p>The <dfn title="dom-VTTRegion-lines"><code>lines</code></dfn> attribute, on getting, must return the <a>text track region lines</a> of the <a>text track region</a> that the <code>VTTRegion</code> object represents, as number of lines. On setting, the <a>text track region lines</a> must be set to the new value, interpreted as a number of lines.</p>
Expand Down

0 comments on commit 6db2325

Please sign in to comment.