Skip to content

Commit e7ef7dc

Browse files
committed
12.0.1
1 parent 3aeafd1 commit e7ef7dc

4 files changed

Lines changed: 15 additions & 11 deletions

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changes to sanitize.css
22

3+
### 12.0.1 (August 20, 2020)
4+
5+
- Fixed: Used case-insensitive attribute selectors in the evergreen variations.
6+
37
### 12.0.0 (August 20, 2020)
48

59
- Added: Correct table border color inheritance in all Chrome, Edge, and Safari.

evergreen.css

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -240,9 +240,9 @@ button {
240240
*/
241241

242242
button,
243-
[type="button"],
244-
[type="reset"],
245-
[type="submit"] {
243+
[type="button" i],
244+
[type="reset" i],
245+
[type="submit" i] {
246246
-webkit-appearance: button;
247247
}
248248

@@ -287,7 +287,7 @@ textarea {
287287
* 2. Correct the outline style in Safari.
288288
*/
289289

290-
[type="search"] {
290+
[type="search" i] {
291291
-webkit-appearance: textfield; /* 1 */
292292
outline-offset: -2px; /* 2 */
293293
}
@@ -396,7 +396,7 @@ summary {
396396
* Change the cursor on busy elements in all browsers (opinionated).
397397
*/
398398

399-
[aria-busy="true"] {
399+
[aria-busy="true" i] {
400400
cursor: progress;
401401
}
402402

@@ -413,7 +413,7 @@ summary {
413413
* inoperable elements in all browsers (opinionated).
414414
*/
415415

416-
[aria-disabled="true"],
416+
[aria-disabled="true" i],
417417
[disabled] {
418418
cursor: not-allowed;
419419
}
@@ -423,11 +423,11 @@ summary {
423423
* in all browsers (opinionated).
424424
*/
425425

426-
[aria-hidden="false"][hidden] {
426+
[aria-hidden="false" i][hidden] {
427427
display: initial;
428428
}
429429

430-
[aria-hidden="false"][hidden]:not(:focus) {
430+
[aria-hidden="false" i][hidden]:not(:focus) {
431431
clip: rect(0, 0, 0, 0);
432432
position: absolute;
433433
}

forms.evergreen.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ select:not([multiple]):not([size]) {
3939
* Remove the border and padding in all browsers (opinionated).
4040
*/
4141

42-
[type="color"],
43-
[type="range"] {
42+
[type="color" i],
43+
[type="range" i] {
4444
border-width: 0;
4545
padding: 0;
4646
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sanitize.css",
3-
"version": "12.0.0",
3+
"version": "12.0.1",
44
"description": "A best-practices CSS foundation",
55
"author": "Jonathan Neal <[email protected]>",
66
"contributors": [

0 commit comments

Comments
 (0)