Skip to content

Commit

Permalink
[giow] (1) Use the entry script's document instead of the media eleme…
Browse files Browse the repository at this point in the history
…nt's, since there's not necessarily a media element.

Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=16884
Affected topics: Video Text Tracks

git-svn-id: http://svn.whatwg.org/webapps@7332 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Sep 11, 2012
1 parent 9a1e20a commit c345c36
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 15 deletions.
10 changes: 5 additions & 5 deletions complete.html
Expand Up @@ -35349,11 +35349,11 @@ <h6 id=text-track-api><span class=secno>4.8.10.12.5 </span>Text track API</h6>

<p>The <dfn id=dom-texttrackcue-getcueashtml title=dom-TextTrackCue-getCueAsHTML><code>getCueAsHTML()</code></dfn>
method must convert the <a href=#text-track-cue-text>text track cue text</a> to a
<code><a href=#documentfragment>DocumentFragment</a></code> for the <a href=#media-element>media element</a>'s
<code><a href=#document>Document</a></code>, using the appropriate rules for doing so. For
example, for <a href=#webvtt>WebVTT</a>, those rules are the <a href=#webvtt-cue-text-parsing-rules>WebVTT
cue text parsing rules</a> and the <a href=#webvtt-cue-text-dom-construction-rules>WebVTT cue text DOM
construction rules</a>. <a href=#refsWEBVTT>[WEBVTT]</a></p>
<code><a href=#documentfragment>DocumentFragment</a></code> for the <a href="#script's-document">script's document</a>
of the <a href=#entry-script>entry script</a>, using the appropriate rules for
doing so. For example, for <a href=#webvtt>WebVTT</a>, those rules are the
<a href=#webvtt-cue-text-parsing-rules>WebVTT cue text parsing rules</a> and the <a href=#webvtt-cue-text-dom-construction-rules>WebVTT cue
text DOM construction rules</a>. <a href=#refsWEBVTT>[WEBVTT]</a></p>

</div>

Expand Down
10 changes: 5 additions & 5 deletions index
Expand Up @@ -35349,11 +35349,11 @@ interface <dfn id=texttrackcue>TextTrackCue</dfn> : <a href=#eventtarget>EventTa

<p>The <dfn id=dom-texttrackcue-getcueashtml title=dom-TextTrackCue-getCueAsHTML><code>getCueAsHTML()</code></dfn>
method must convert the <a href=#text-track-cue-text>text track cue text</a> to a
<code><a href=#documentfragment>DocumentFragment</a></code> for the <a href=#media-element>media element</a>'s
<code><a href=#document>Document</a></code>, using the appropriate rules for doing so. For
example, for <a href=#webvtt>WebVTT</a>, those rules are the <a href=#webvtt-cue-text-parsing-rules>WebVTT
cue text parsing rules</a> and the <a href=#webvtt-cue-text-dom-construction-rules>WebVTT cue text DOM
construction rules</a>. <a href=#refsWEBVTT>[WEBVTT]</a></p>
<code><a href=#documentfragment>DocumentFragment</a></code> for the <a href="#script's-document">script's document</a>
of the <a href=#entry-script>entry script</a>, using the appropriate rules for
doing so. For example, for <a href=#webvtt>WebVTT</a>, those rules are the
<a href=#webvtt-cue-text-parsing-rules>WebVTT cue text parsing rules</a> and the <a href=#webvtt-cue-text-dom-construction-rules>WebVTT cue
text DOM construction rules</a>. <a href=#refsWEBVTT>[WEBVTT]</a></p>

</div>

Expand Down
11 changes: 6 additions & 5 deletions source
Expand Up @@ -38778,11 +38778,12 @@ interface <dfn>TextTrackCue</dfn> : <span>EventTarget</span> {
<p>The <dfn
title="dom-TextTrackCue-getCueAsHTML"><code>getCueAsHTML()</code></dfn>
method must convert the <span>text track cue text</span> to a
<code>DocumentFragment</code> for the <span>media element</span>'s
<code>Document</code>, using the appropriate rules for doing so. For
example, for <span>WebVTT</span>, those rules are the <span>WebVTT
cue text parsing rules</span> and the <span>WebVTT cue text DOM
construction rules</span>. <a href="#refsWEBVTT">[WEBVTT]</a></p>
<code>DocumentFragment</code> for the <span>script's document</span>
of the <span>entry script</span>, using the appropriate rules for
doing so. For example, for <span>WebVTT</span>, those rules are the
<span>WebVTT cue text parsing rules</span> and the <span>WebVTT cue
text DOM construction rules</span>. <a
href="#refsWEBVTT">[WEBVTT]</a></p>

</div>

Expand Down

0 comments on commit c345c36

Please sign in to comment.