[Bug 13273] New: Clarify text in media element user interface section

http://www.w3.org/Bugs/Public/show_bug.cgi?id=13273

           Summary: Clarify text in media element user interface section
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: shelleyp@burningbird.net
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


In the section at[1] the text states the following:

"If the attribute is present, or if scripting is disabled for the media
element, then the user agent should expose a user interface to the user." 

Does this mean if I'm creating a custom media element control, I can safely
leave the controls attribute off the media element? That if the user has
disabled JavaScript (which would disable my custom control), the user agent is
supposed to automatically expose this user interface?

Right now, I'm assuming if I want to do a custom control for a video element, I
add the controls attribute to the element, and then in code, remove the
attribute.  

If I understand this section correctly, though, the browsers should
automatically detect if JavaScript is disabled and provide this user interface
by default. 

Please clarify in this section exactly what is supposed to happen.



[1] http://dev.w3.org/html5/spec/the-iframe-element.html#user-interface

-- 
Configure bugmail: http://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 Friday, 15 July 2011 16:17:31 UTC