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 12303 - <video> TextTrack is missing an IDL attribute for @default
Summary: <video> TextTrack is missing an IDL attribute for @default
Status: CLOSED WONTFIX
Alias: None
Product: HTML WG
Classification: Unclassified
Component: LC1 HTML5 spec (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-15 08:35 UTC by Silvia Pfeiffer
Modified: 2011-08-10 03:42 UTC (History)
4 users (show)

See Also:


Attachments

Description Silvia Pfeiffer 2011-03-15 08:35:59 UTC
Section 4.8.9 in the WHATWG spec says "The src, srclang, label, and default IDL attributes must reflect the respective content attributes of the same name." However, there is no @default IDL attribute in http://www.whatwg.org/specs/web-apps/current-work/multipage/video.html#texttrack (and also not in http://dev.w3.org/html5/spec/Overview.html#texttrack).

Add:
readonly attribute boolean default;
Comment 1 Ian 'Hixie' Hickson 2011-06-10 19:44:53 UTC
I don't understand. What does the TextTrack interface have to do with the HTMLTrackElement.default and <track default=""> attributes?
Comment 2 Silvia Pfeiffer 2011-06-11 01:31:26 UTC
(In reply to comment #1)
> I don't understand. What does the TextTrack interface have to do with the
> HTMLTrackElement.default and <track default=""> attributes?

Maybe I am confused, but I why would kind, label and language be repeated in TextTrack and not default? I would think that it would be important for JS also to know if a track was activated by default.
Comment 3 Michael[tm] Smith 2011-08-04 05:03:51 UTC
mass-moved component to LC1
Comment 4 Ian 'Hixie' Hickson 2011-08-10 01:52:00 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: Rejected
Change Description: no spec change
Rationale: 

HTMLTrackElement is where you'll find the .default IDL attribute.

TextTrack is about the contents of the text track itself. The only reason kind, language, and label are repeated there is so that they can be exposed for text tracks that don't have a <track> element (i.e. in-band tracks).