[Bug 16915] The DOM API should be able to read and set the "auto" value for TextTrackCue.line

https://www.w3.org/Bugs/Public/show_bug.cgi?id=16915

--- Comment #1 from Simon Pieters <simonp@opera.com> 2012-05-03 09:25:35 UTC ---
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.

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Thursday, 3 May 2012 09:25:43 UTC