This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 25263 - TextTrackCue interface is missing track property
Summary: TextTrackCue interface is missing track property
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: PC Linux
: P3 normal
Target Milestone: ---
Assignee: Silvia Pfeiffer
QA Contact: HTML WG Bugzilla archive list
URL: http://www.w3.org/html/wg/drafts/html...
Whiteboard:
Keywords: CR
Depends on:
Blocks:
 
Reported: 2014-04-04 18:45 UTC by Philippe Le Hegaret
Modified: 2014-04-08 01:26 UTC (History)
7 users (show)

See Also:


Attachments

Description Philippe Le Hegaret 2014-04-04 18:45:18 UTC
The following WebIDL code:
[[
interface TextTrackCue : EventTarget {
           attribute DOMString id;
           attribute double startTime;
           attribute double endTime;
           attribute boolean pauseOnExit;

           attribute EventHandler onenter;
           attribute EventHandler onexit;
};
]]
http://www.w3.org/html/wg/drafts/html/CR/embedded-content-0.html#texttrackcue

is missing the track attribute:
[[
  readonly attribute TextTrack? track;
]]
http://www.w3.org/html/wg/drafts/html/master/embedded-content.html#texttrackcue

The rest of the section talks about the track attribute thus my assumption that the attribute is simply missing in the interface.
Comment 1 Philip Jägenstedt 2014-04-04 20:30:31 UTC
The only instances of "track attribute" I can find in the spec are related to TrackEvent, which does have a track attribute.
Comment 2 Philippe Le Hegaret 2014-04-04 21:02:00 UTC
There should be one in TextTrackCue as well.

Here is its description you should look for:
[[
The track attribute, on getting, must return the TextTrack object of the text track in whose list of cues the text track cue that the TextTrackCue object represents finds itself, if any; or null otherwise.
]]
http://www.w3.org/html/wg/drafts/html/CR/embedded-content-0.html#texttrackcue

Btw, the related test is at
https://github.com/w3c/web-platform-tests/blob/master/html/semantics/embedded-content/media-elements/interfaces/TextTrackCue/track.html
Comment 3 Silvia Pfeiffer 2014-04-06 04:58:50 UTC
Must be a merge error on the HTML5.0 spec, since we have it on the HTML5.1 spec:
http://www.w3.org/html/wg/drafts/html/master/embedded-content.html#texttrackcue
Comment 4 Silvia Pfeiffer 2014-04-08 01:26:20 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are
satisfied with this response, please change the state of this bug to CLOSED. If
you have additional information and would like the Editor to reconsider, please
reopen this bug. If you would like to escalate the issue to the full HTML
Working Group, please add the TrackerRequest keyword to this bug, and suggest
title and text for the Tracker Issue; or you may create a Tracker Issue
yourself, if you are able to do so. For more details, see this document:

   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Accepted

Change Description:
https://github.com/w3c/html/commit/3ed2f459ba285575c683e2b1be62c7337a959b93

Rationale: Fixed merge error