[wp-trac] [WordPress Trac] #37448: Primary and secondary buttons need to reset the outline property
WordPress Trac
noreply at wordpress.org
Sat Jul 23 18:12:10 UTC 2016
#37448: Primary and secondary buttons need to reset the outline property
----------------------------+----------------------------------------
Reporter: afercia | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Administration | Version:
Severity: normal | Keywords: needs-patch good-first-bug
Focuses: ui |
----------------------------+----------------------------------------
Seems that only the main CSS class `.button` resets the `outline` property
while `.button-primary` and `.button-secondary` don't. And there are cases
where button elements use just `.button-primary` and `.button-secondary`
without the main CSS class. This is particularly evident on webkit-based
browsers on OS X, see screenshot below (the thick blue "border" is the
native webkit outline):
[[Image(https://cldup.com/rrcsfsa5kP.png)]]
Maybe the intended usage is to always set the main class together with the
other ones, e.g. `class="button button-secondary"` and this would fix it,
on the other hand an easier solution would be resetting `outline` also for
`.button-primary` and `.button-secondary`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/37448>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list