Skip to content

Commit acd1010

Browse files
authored
table border-color currentcolor (#18)
1 parent 4867dab commit acd1010

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

evergreen.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,12 +110,12 @@
110110
* ========================================================================== */
111111

112112
/**
113-
* 1. Correct table border color inheritance in all Chrome, Edge, and Safari.
113+
* 1. Correct table border color in Chrome, Edge, and Safari.
114114
* 2. Remove text indentation from table contents in Chrome, Edge, and Safari.
115115
*/
116116

117117
:where(table) {
118-
border-color: inherit; /* 1 */
118+
border-color: currentColor; /* 1 */
119119
text-indent: 0; /* 2 */
120120
}
121121

normalize.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,12 +169,12 @@ svg:not(:root) {
169169
* ========================================================================== */
170170

171171
/**
172-
* 1. Correct table border color inheritance in all Chrome, Edge, and Safari.
172+
* 1. Correct table border color in Chrome, Edge, and Safari.
173173
* 2. Remove text indentation from table contents in Chrome, Edge, and Safari.
174174
*/
175175

176176
table {
177-
border-color: inherit; /* 1 */
177+
border-color: currentColor; /* 1 */
178178
text-indent: 0; /* 2 */
179179
}
180180

opinionated.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,12 +177,12 @@ svg:not(:root) {
177177
* ========================================================================== */
178178

179179
/**
180-
* 1. Correct table border color inheritance in all Chrome, Edge, and Safari.
180+
* 1. Correct table border color in Chrome, Edge, and Safari.
181181
* 2. Remove text indentation from table contents in Chrome, Edge, and Safari.
182182
*/
183183

184184
table {
185-
border-color: inherit; /* 1 */
185+
border-color: currentColor; /* 1 */
186186
text-indent: 0; /* 2 */
187187
}
188188

opinionated.evergreen.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,12 +123,12 @@ audio:not([controls]) {
123123
* ========================================================================== */
124124

125125
/**
126-
* 1. Correct table border color inheritance in all Chrome, Edge, and Safari.
126+
* 1. Correct table border color in Chrome, Edge, and Safari.
127127
* 2. Remove text indentation from table contents in Chrome, Edge, and Safari.
128128
*/
129129

130130
table {
131-
border-color: inherit; /* 1 */
131+
border-color: currentColor; /* 1 */
132132
text-indent: 0; /* 2 */
133133
}
134134

0 commit comments

Comments
 (0)