Skip to content
This repository has been archived by the owner on Mar 18, 2019. It is now read-only.

Commit

Permalink
Added: new deactivation rules in features map (#345)
Browse files Browse the repository at this point in the history
  • Loading branch information
Semigradsky authored and MoOx committed Mar 16, 2017
1 parent fe6d852 commit 951b81d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -22,7 +22,7 @@
],
"dependencies": {
"autoprefixer": "^6.0.2",
"caniuse-api": "^1.3.2",
"caniuse-api": "^1.5.3",
"chalk": "^1.1.1",
"pixrem": "^3.0.0",
"pleeease-filters": "^3.0.0",
Expand Down
18 changes: 12 additions & 6 deletions src/features-activation-map.js
Expand Up @@ -4,29 +4,35 @@
// null == always enable (& no caniuse data)
export default {
customProperties: [ "css-variables" ],
// applyRule: [ null ],
// calc() transformation only make sense with transformed custom properties,
// don't you think ?
// calc: null,
// calc: [ null ],
// nesting: [ null ],
// @todo open PR on caniuse repo https://github.com/Fyrd/caniuse
// customMedia: [ null ],
// mediaQueriesRange: [ null ],
// customSelectors: [ null ],
// colorRebeccapurple: [ null ], // @todo can be done easily
attributeCaseInsensitive: [ "css-case-insensitive" ],
// @todo wait https://github.com/Fyrd/caniuse/issues/1271
// colorRebeccapurple: [ null ],
// colorHsl: [ null ],
// colorHwb: [ null ],
// colorRgb: [ null ],
// colorGray: [ null ],
// colorHexAlpha: [ null ],
colorHexAlpha: [ "css-rrggbbaa" ],
// colorFunction:[ null],
// fontVariant: [ null ],
// @todo can be done using a callback, this is only used for Firefox < 35
// filter: [ null ],
filter: [ "css-filters" ],
initial: [ "css-all", "css-initial-value" ],
rem: [ "rem" ],
pseudoElements: [ "css-gencontent" ],
// pseudoClassMatches: [ null ],
// pseudoClassNot: [ null ],
pseudoClassMatches: [ "css-matches-pseudo" ],
pseudoClassNot: [ "css-not-sel-list" ],
// pseudoClassAnyLink: [ null ],
colorRgba: [ "css3-colors" ],
overflowWrap: [ "wordwrap" ],
// will always be null since autoprefixer does the same game as we do
// autoprefixer: [ null ]
}

0 comments on commit 951b81d

Please sign in to comment.