Closed Bug 1525304 Opened 5 years ago Closed 5 years ago

Automatically apply "primary" style to buttons with autofocus

Categories

(Toolkit :: Themes, enhancement, P1)

enhancement

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: dao, Assigned: dao)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

The "primary" class can be set regardless of a button's function. In order to encourage people to build UIs that not only look but work right, we should automatically give the primary style to buttons with the autofocus attribute. This should help avoid issues like bug 1524080.

Blocks: 1525309
Flags: needinfo?(dao+bmo)
Pushed by dgottwald@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2ac9dc6831eb
Automatically apply "primary" style to buttons with autofocus. r=Gijs
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: