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

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

            Bug ID: 21050
           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: eoconnor@apple.com
        QA Contact: public-html-bugzilla@w3.org
                CC: ehsan@mozilla.com, eoconnor@apple.com, mike@w3.org,
                    Ms2ger@gmail.com, public-html-admin@w3.org,
                    public-html-wg-issue-tracking@w3.org
        Depends on: 21043

+++ This bug was initially created as a clone of Bug #21043 +++

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 19:22:52 UTC