Skip to content

Commit

Permalink
Ensure max specificity of 001 in all Preflight rules
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwathan committed Jan 9, 2024
1 parent fb1743b commit e18e723
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/css/preflight.css
Original file line number Diff line number Diff line change
Expand Up @@ -195,9 +195,9 @@ select {
*/

button,
[type='button'],
[type='reset'],
[type='submit'] {
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
-webkit-appearance: button; /* 1 */
background-color: transparent; /* 2 */
background-image: none; /* 2 */
Expand Down
4 changes: 2 additions & 2 deletions tests/plugins/__snapshots__/preflight.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ button, select {
text-transform: none;
}
button, [type="button"], [type="reset"], [type="submit"] {
button, input:where([type="button"]), input:where([type="reset"]), input:where([type="submit"]) {
-webkit-appearance: button;
background-color: #0000;
background-image: none;
Expand Down Expand Up @@ -300,7 +300,7 @@ button, select {
text-transform: none;
}
button, [type="button"], [type="reset"], [type="submit"] {
button, input:where([type="button"]), input:where([type="reset"]), input:where([type="submit"]) {
-webkit-appearance: button;
background-color: #0000;
background-image: none;
Expand Down

0 comments on commit e18e723

Please sign in to comment.