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

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 UTC