This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html Multipage: http://www.whatwg.org/C#texttrackcue Complete: http://www.whatwg.org/c#texttrackcue Comment: The DOM API should be able to read and set the "auto" value for TextTrackCue.line Posted from: 88.131.66.80 by simonp@opera.com User agent: Opera/9.80 (Macintosh; Intel Mac OS X 10.7.3; U; en) Presto/2.10.229 Version/11.62
I think the current situation is not optimal -- it's not possible to tell if a cue has position 0 or auto, and if you want to change the position to auto, you have to create a new cue and copy over all other properties. I think the IDL should be something like enum LinePositionKeyword { "auto" }; ... attribute (long or LinePositionKeyword) line; ... and then prose handling "auto" as appropriate.
Also currently the following line makes the cue change position from the bottom to the top, which seems weird: cue.line = cue.line;
This bug was cloned to create bug 18169 as part of operation convergence.
Checked in as WHATWG revision r7330. Check-in comment: Change TextTrackCue.line to expose the raw value rather than the computed value. There's no way to get the computed value now. http://html5.org/tools/web-apps-tracker?from=7329&to=7330