Bug 18322

Summary: video element should have ui when scripting is disabled
Product: WebKit Reporter: Martin Hassman <bugzilla>
Component: Layout and RenderingAssignee: Eric Carlson <eric.carlson>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Testcase
none
proposed patch simon.fraser: review+

Description Martin Hassman 2008-04-05 09:35:18 PDT
According to HTML5 spec. video element should have user interface when scripting is disabled. This isn't true in WebKit.

Although controls attibute force the ui according the spec, when JavaScript is disabled and video element hasn't controls attribute, WebKit doesn't display ui.

"3.12.9.10. User interface
The controls attribute is a boolean attribute. If the attribute is present, or if scripting is disabled, then the user agent should expose a user interface to the user."

 http://www.whatwg.org/specs/web-apps/current-work/#controls
Comment 1 Martin Hassman 2008-04-05 09:36:41 PDT
Created attachment 20354 [details]
Testcase
Comment 2 Eric Carlson 2009-02-12 10:35:46 PST
Created attachment 27610 [details]
proposed patch
Comment 3 Eric Carlson 2009-02-12 10:48:29 PST
http://trac.webkit.org/changeset/40913