Skip to content

Conversation

@mattbrundage
Copy link
Contributor

Updated to use the same specificity as in Mozilla's user agent stylesheet (resource://gre-resources/forms.css)

Also, this ::-moz-focus-inner rule has no effect on the primary focus style of buttons, so we don't have to "restore" focus styles with a :-moz-focusring rule.

:-moz-focusring styles are set in resource://gre-resources/html.css

Reduced test case: https://codepen.io/mattbrundage/pen/LYZKNYJ

Updated to use the same specificity as in Mozilla's user agent stylesheet (``resource://gre-resources/forms.css``)

Also, this ``::-moz-focus-inner`` rule has no effect on the primary focus style of buttons, so we don't have to "restore" focus styles with a ``:-moz-focusring`` rule.
``:-moz-focusring`` styles are set in ``resource://gre-resources/html.css``

Reduced test case: https://codepen.io/mattbrundage/pen/LYZKNYJ
garrettw added a commit to garrettw/vitals that referenced this pull request Dec 14, 2020
marella added a commit to marella/modernize that referenced this pull request Jun 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant