Skip to content

Commit 8f10d2e

Browse files
committed
Copy changes from @csstools/normalize.css@11
1 parent 66dd030 commit 8f10d2e

1 file changed

Lines changed: 13 additions & 6 deletions

File tree

sanitize.css

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,13 +91,15 @@ ul ul {
9191
}
9292

9393
/**
94-
* 1. Add the correct sizing in Firefox.
95-
* 2. Show the overflow in Edge 18- and IE.
94+
* 1. Correct the inheritance of border color in Firefox.
95+
* 2. Add the correct box sizing in Firefox.
96+
* 3. Show the overflow in Edge 18- and IE.
9697
*/
9798

9899
hr {
99-
height: 0; /* 1 */
100-
overflow: visible; /* 2 */
100+
color: inherit; /* 1 */
101+
height: 0; /* 2 */
102+
overflow: visible; /* 3 */
101103
}
102104

103105
/**
@@ -247,11 +249,15 @@ svg:not(:root) {
247249
* ========================================================================== */
248250

249251
/**
250-
* Collapse border spacing in all browsers (opinionated).
252+
* 1. Collapse border spacing in all browsers (opinionated).
253+
* 2. Correct table border color inheritance in all Chrome, Edge, and Safari.
254+
* 3. Remove text indentation from table contents in Chrome, Edge, and Safari.
251255
*/
252256

253257
table {
254-
border-collapse: collapse;
258+
border-collapse: collapse; /* 1 */
259+
border-color: inherit; /* 2 */
260+
text-indent: 0; /* 3 */
255261
}
256262

257263
/* Forms
@@ -346,6 +352,7 @@ textarea {
346352
margin: 0; /* 1 */
347353
overflow: auto; /* 2 */
348354
resize: vertical; /* 3 */
355+
resize: block; /* 3 */
349356
}
350357

351358
/**

0 commit comments

Comments
 (0)