W3C home > Mailing lists > Public > public-html-bugzilla@w3.org > February 2012

[Bug 16076] New: <track> This constructor is horrible. Too many arguments. Also, settings as a string? Ugh. Can we make it have one argument that takes an object with id, startTime, endTime, text, pauseOnExit and all the settings as properties instead? e.g. new TextTrackC

From: <bugzilla@jessica.w3.org>
Date: Wed, 22 Feb 2012 15:17:06 +0000
To: public-html-bugzilla@w3.org
Message-ID: <bug-16076-2486@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=16076

           Summary: <track> This constructor is horrible. Too many
                    arguments. Also, settings as a string? Ugh. Can we
                    make it have one argument that takes an object with
                    id, startTime, endTime, text, pauseOnExit and all the
                    settings as properties instead? e.g. new TextTrackC
           Product: HTML WG
           Version: unspecified
          Platform: Other
               URL: http://www.whatwg.org/specs/web-apps/current-work/#tex
                    ttrackcue
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P3
         Component: other Hixie drafts (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: contributor@whatwg.org
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, simonp@opera.com


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:
<track> This constructor is horrible. Too many arguments. Also, settings as a
string? Ugh. Can we make it have one argument that takes an object with id,
startTime, endTime, text, pauseOnExit and all the settings as properties
instead? e.g. new TextTrackCue({startTime:0, endTime:1, vertical:"lr",
text:"LOL"})

Posted from: 94.234.170.44 by simonp@opera.com
User agent: Opera/9.80 (Macintosh; Intel Mac OS X 10.7.2; U; en)
Presto/2.10.229 Version/11.61

-- 
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 Wednesday, 22 February 2012 15:17:13 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 22 February 2012 15:17:17 GMT