diff --git a/CHANGELOG.md b/CHANGELOG.md index 495d9be..325abb7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changes to sanitize.css +### 12.0.1 (August 20, 2020) + +- Fixed: Used case-insensitive attribute selectors in the evergreen variations. + ### 12.0.0 (August 20, 2020) - Added: Correct table border color inheritance in all Chrome, Edge, and Safari. diff --git a/evergreen.css b/evergreen.css index 4086733..b05d7d5 100644 --- a/evergreen.css +++ b/evergreen.css @@ -240,9 +240,9 @@ button { */ button, -[type="button"], -[type="reset"], -[type="submit"] { +[type="button" i], +[type="reset" i], +[type="submit" i] { -webkit-appearance: button; } @@ -287,7 +287,7 @@ textarea { * 2. Correct the outline style in Safari. */ -[type="search"] { +[type="search" i] { -webkit-appearance: textfield; /* 1 */ outline-offset: -2px; /* 2 */ } @@ -396,7 +396,7 @@ summary { * Change the cursor on busy elements in all browsers (opinionated). */ -[aria-busy="true"] { +[aria-busy="true" i] { cursor: progress; } @@ -413,7 +413,7 @@ summary { * inoperable elements in all browsers (opinionated). */ -[aria-disabled="true"], +[aria-disabled="true" i], [disabled] { cursor: not-allowed; } @@ -423,11 +423,11 @@ summary { * in all browsers (opinionated). */ -[aria-hidden="false"][hidden] { +[aria-hidden="false" i][hidden] { display: initial; } -[aria-hidden="false"][hidden]:not(:focus) { +[aria-hidden="false" i][hidden]:not(:focus) { clip: rect(0, 0, 0, 0); position: absolute; } diff --git a/forms.evergreen.css b/forms.evergreen.css index a0b8598..82fd913 100644 --- a/forms.evergreen.css +++ b/forms.evergreen.css @@ -39,8 +39,8 @@ select:not([multiple]):not([size]) { * Remove the border and padding in all browsers (opinionated). */ -[type="color"], -[type="range"] { +[type="color" i], +[type="range" i] { border-width: 0; padding: 0; } diff --git a/package.json b/package.json index 609c7ac..67dd8d0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sanitize.css", - "version": "12.0.0", + "version": "12.0.1", "description": "A best-practices CSS foundation", "author": "Jonathan Neal ", "contributors": [