Bug 18322 - video element should have ui when scripting is disabled
Summary: video element should have ui when scripting is disabled
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Eric Carlson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-05 09:35 PDT by Martin Hassman
Modified: 2009-02-12 10:48 PST (History)
0 users

See Also:


Attachments
Testcase (336 bytes, text/html)
2008-04-05 09:36 PDT, Martin Hassman
no flags Details
proposed patch (2.24 KB, patch)
2009-02-12 10:35 PST, Eric Carlson
simon.fraser: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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