W3C home > Mailing lists > Public > public-html-admin@w3.org > February 2013

[Bug 21043] New: Use an optional NamedConstructor argument for HTMLAudioElement

From: <bugzilla@jessica.w3.org>
Date: Tue, 19 Feb 2013 05:42:40 +0000
To: public-html-admin@w3.org
Message-ID: <bug-21043-2495@http.www.w3.org/Bugs/Public/>
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21043

            Bug ID: 21043
           Summary: Use an optional NamedConstructor argument for
                    HTMLAudioElement
    Classification: Unclassified
           Product: HTML WG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec
          Assignee: dave.null@w3.org
          Reporter: ehsan@mozilla.com
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-admin@w3.org,
                    public-html-wg-issue-tracking@w3.org

This is what the spec currently says:

[NamedConstructor=Audio(),
 NamedConstructor=Audio(DOMString src)]
interface HTMLAudioElement : HTMLMediaElement {};

However, the following equivalent IDL is simpler:

[NamedConstructor=Audio(optional DOMString src)]
interface HTMLAudioElement : HTMLMediaElement {};

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Tuesday, 19 February 2013 05:42:41 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 19 February 2013 05:42:42 GMT