Skip to content

Commit fb58a8e

Browse files
committed
Merge pull request #307 from fracmak/fallback_border_colors
Added borders to fallback-colors rule
2 parents 955e8cb + 3553230 commit fb58a8e

File tree

2 files changed

+747
-2
lines changed

2 files changed

+747
-2
lines changed

src/rules/fallback-colors.js

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,17 @@ CSSLint.addRule({
1515
propertiesToCheck = {
1616
color: 1,
1717
background: 1,
18-
"background-color": 1
18+
"border-color": 1,
19+
"border-top-color": 1,
20+
"border-right-color": 1,
21+
"border-bottom-color": 1,
22+
"border-left-color": 1,
23+
border: 1,
24+
"border-top": 1,
25+
"border-right": 1,
26+
"border-bottom": 1,
27+
"border-left": 1,
28+
"background-color": 1
1929
},
2030
properties;
2131

0 commit comments

Comments
 (0)