Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Commit 951b81d

Browse files
SemigradskyMoOx
authored andcommittedMar 16, 2017
Added: new deactivation rules in features map (#345)
1 parent fe6d852 commit 951b81d

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed
 

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
],
2323
"dependencies": {
2424
"autoprefixer": "^6.0.2",
25-
"caniuse-api": "^1.3.2",
25+
"caniuse-api": "^1.5.3",
2626
"chalk": "^1.1.1",
2727
"pixrem": "^3.0.0",
2828
"pleeease-filters": "^3.0.0",

‎src/features-activation-map.js

+12-6
Original file line numberDiff line numberDiff line change
@@ -4,29 +4,35 @@
44
// null == always enable (& no caniuse data)
55
export default {
66
customProperties: [ "css-variables" ],
7+
// applyRule: [ null ],
78
// calc() transformation only make sense with transformed custom properties,
89
// don't you think ?
9-
// calc: null,
10+
// calc: [ null ],
11+
// nesting: [ null ],
1012
// @todo open PR on caniuse repo https://github.com/Fyrd/caniuse
1113
// customMedia: [ null ],
1214
// mediaQueriesRange: [ null ],
1315
// customSelectors: [ null ],
14-
// colorRebeccapurple: [ null ], // @todo can be done easily
16+
attributeCaseInsensitive: [ "css-case-insensitive" ],
17+
// @todo wait https://github.com/Fyrd/caniuse/issues/1271
18+
// colorRebeccapurple: [ null ],
1519
// colorHsl: [ null ],
1620
// colorHwb: [ null ],
1721
// colorRgb: [ null ],
1822
// colorGray: [ null ],
19-
// colorHexAlpha: [ null ],
23+
colorHexAlpha: [ "css-rrggbbaa" ],
2024
// colorFunction:[ null],
2125
// fontVariant: [ null ],
2226
// @todo can be done using a callback, this is only used for Firefox < 35
23-
// filter: [ null ],
27+
filter: [ "css-filters" ],
2428
initial: [ "css-all", "css-initial-value" ],
2529
rem: [ "rem" ],
2630
pseudoElements: [ "css-gencontent" ],
27-
// pseudoClassMatches: [ null ],
28-
// pseudoClassNot: [ null ],
31+
pseudoClassMatches: [ "css-matches-pseudo" ],
32+
pseudoClassNot: [ "css-not-sel-list" ],
33+
// pseudoClassAnyLink: [ null ],
2934
colorRgba: [ "css3-colors" ],
35+
overflowWrap: [ "wordwrap" ],
3036
// will always be null since autoprefixer does the same game as we do
3137
// autoprefixer: [ null ]
3238
}

0 commit comments

Comments
 (0)
This repository has been archived.