Bug 18007 - WebKit does not allow a button to be themed as "default".
Summary: WebKit does not allow a button to be themed as "default".
Status: RESOLVED DUPLICATE of bug 16645
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P3 Enhancement
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-21 23:39 PDT by Brian Ellis
Modified: 2008-03-22 12:58 PDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brian Ellis 2008-03-21 23:39:05 PDT
It would be very valuable to developers writing Web applications (as opposed to simple pages or fill-in forms) to have the ability to theme a button control with the "default" (glowy blue in Mac OS X) appearance to indicate that pressing return will activate that button.  Although the implementation details are sketchy if the button is set up as the submit button for a form (if there are multiple forms on the page, should both submit buttons be default at once?  Only the one whose associated form has keyboard focus? etc) but this should definitely be available as an attribute (perhaps accesskey="↩") or a CSS value ("-webkit-appearance: button-default") for developers who wish to manually associate the button with a return key press in a JavaScript event handler or similar.
Comment 1 Mark Rowe (bdash) 2008-03-22 12:58:50 PDT

*** This bug has been marked as a duplicate of 16645 ***