autoprefixer 9.8.7 → 10.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/CHANGELOG.md +999 -0
  2. package/README.md +0 -3
  3. package/bin/autoprefixer +11 -11
  4. package/data/prefixes.js +799 -545
  5. package/lib/at-rule.js +23 -50
  6. package/lib/autoprefixer.js +108 -97
  7. package/lib/brackets.js +31 -44
  8. package/lib/browsers.js +54 -71
  9. package/lib/declaration.js +122 -178
  10. package/lib/hacks/align-content.js +24 -54
  11. package/lib/hacks/align-items.js +23 -53
  12. package/lib/hacks/align-self.js +32 -60
  13. package/lib/hacks/animation.js +11 -29
  14. package/lib/hacks/appearance.js +19 -35
  15. package/lib/hacks/backdrop-filter.js +16 -31
  16. package/lib/hacks/background-clip.js +19 -36
  17. package/lib/hacks/background-size.js +16 -31
  18. package/lib/hacks/block-logical.js +28 -36
  19. package/lib/hacks/border-image.js +9 -27
  20. package/lib/hacks/border-radius.js +22 -44
  21. package/lib/hacks/break-props.js +38 -51
  22. package/lib/hacks/color-adjust.js +11 -30
  23. package/lib/hacks/cross-fade.js +29 -48
  24. package/lib/hacks/display-flex.js +32 -61
  25. package/lib/hacks/display-grid.js +12 -32
  26. package/lib/hacks/filter-value.js +8 -25
  27. package/lib/hacks/filter.js +13 -27
  28. package/lib/hacks/flex-basis.js +21 -54
  29. package/lib/hacks/flex-direction.js +41 -77
  30. package/lib/hacks/flex-flow.js +33 -61
  31. package/lib/hacks/flex-grow.js +16 -43
  32. package/lib/hacks/flex-shrink.js +21 -54
  33. package/lib/hacks/flex-spec.js +7 -10
  34. package/lib/hacks/flex-wrap.js +11 -32
  35. package/lib/hacks/flex.js +27 -58
  36. package/lib/hacks/fullscreen.js +10 -30
  37. package/lib/hacks/gradient.js +240 -330
  38. package/lib/hacks/grid-area.js +25 -43
  39. package/lib/hacks/grid-column-align.js +14 -34
  40. package/lib/hacks/grid-end.js +30 -45
  41. package/lib/hacks/grid-row-align.js +14 -34
  42. package/lib/hacks/grid-row-column.js +20 -39
  43. package/lib/hacks/grid-rows-columns.js +75 -99
  44. package/lib/hacks/grid-start.js +17 -39
  45. package/lib/hacks/grid-template-areas.js +59 -76
  46. package/lib/hacks/grid-template.js +40 -61
  47. package/lib/hacks/grid-utils.js +686 -716
  48. package/lib/hacks/image-rendering.js +24 -47
  49. package/lib/hacks/image-set.js +10 -30
  50. package/lib/hacks/inline-logical.js +26 -32
  51. package/lib/hacks/intrinsic.js +40 -53
  52. package/lib/hacks/justify-content.js +26 -57
  53. package/lib/hacks/mask-border.js +28 -36
  54. package/lib/hacks/mask-composite.js +41 -57
  55. package/lib/hacks/order.js +22 -52
  56. package/lib/hacks/overscroll-behavior.js +16 -37
  57. package/lib/hacks/pixelated.js +16 -40
  58. package/lib/hacks/place-self.js +18 -41
  59. package/lib/hacks/placeholder-shown.js +9 -28
  60. package/lib/hacks/placeholder.js +15 -38
  61. package/lib/hacks/text-decoration-skip-ink.js +14 -29
  62. package/lib/hacks/text-decoration.js +20 -31
  63. package/lib/hacks/text-emphasis-position.js +9 -28
  64. package/lib/hacks/transform-decl.js +43 -69
  65. package/lib/hacks/user-select.js +19 -27
  66. package/lib/hacks/writing-mode.js +19 -36
  67. package/lib/info.js +63 -93
  68. package/lib/old-selector.js +39 -60
  69. package/lib/old-value.js +17 -25
  70. package/lib/prefixer.js +83 -110
  71. package/lib/prefixes.js +233 -336
  72. package/lib/processor.js +420 -416
  73. package/lib/resolution.js +62 -98
  74. package/lib/selector.js +91 -139
  75. package/lib/supports.js +194 -246
  76. package/lib/transition.js +170 -265
  77. package/lib/utils.js +49 -72
  78. package/lib/value.js +77 -116
  79. package/lib/vendor.js +14 -0
  80. package/package.json +23 -12
@@ -1,81 +1,53 @@
1
- "use strict";
2
-
3
- function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
4
-
5
- function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _defaults(subClass, superClass); }
6
-
7
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
-
9
- var flexSpec = require('./flex-spec');
10
-
11
- var Declaration = require('../declaration');
12
-
13
- var FlexFlow = /*#__PURE__*/function (_Declaration) {
14
- _inheritsLoose(FlexFlow, _Declaration);
15
-
16
- function FlexFlow() {
17
- return _Declaration.apply(this, arguments) || this;
18
- }
19
-
20
- var _proto = FlexFlow.prototype;
1
+ let flexSpec = require('./flex-spec')
2
+ let Declaration = require('../declaration')
21
3
 
4
+ class FlexFlow extends Declaration {
22
5
  /**
23
6
  * Use two properties for 2009 spec
24
7
  */
25
- _proto.insert = function insert(decl, prefix, prefixes) {
26
- var spec;
27
-
28
- var _flexSpec = flexSpec(prefix);
29
-
30
- spec = _flexSpec[0];
31
- prefix = _flexSpec[1];
32
-
8
+ insert (decl, prefix, prefixes) {
9
+ let spec
10
+ ;[spec, prefix] = flexSpec(prefix)
33
11
  if (spec !== 2009) {
34
- return _Declaration.prototype.insert.call(this, decl, prefix, prefixes);
12
+ return super.insert(decl, prefix, prefixes)
35
13
  }
36
-
37
- var values = decl.value.split(/\s+/).filter(function (i) {
38
- return i !== 'wrap' && i !== 'nowrap' && 'wrap-reverse';
39
- });
40
-
14
+ let values = decl.value
15
+ .split(/\s+/)
16
+ .filter(i => i !== 'wrap' && i !== 'nowrap' && 'wrap-reverse')
41
17
  if (values.length === 0) {
42
- return undefined;
18
+ return undefined
43
19
  }
44
20
 
45
- var already = decl.parent.some(function (i) {
46
- return i.prop === prefix + 'box-orient' || i.prop === prefix + 'box-direction';
47
- });
48
-
21
+ let already = decl.parent.some(
22
+ i =>
23
+ i.prop === prefix + 'box-orient' || i.prop === prefix + 'box-direction'
24
+ )
49
25
  if (already) {
50
- return undefined;
26
+ return undefined
51
27
  }
52
28
 
53
- var value = values[0];
54
- var orient = value.includes('row') ? 'horizontal' : 'vertical';
55
- var dir = value.includes('reverse') ? 'reverse' : 'normal';
56
- var cloned = this.clone(decl);
57
- cloned.prop = prefix + 'box-orient';
58
- cloned.value = orient;
29
+ let value = values[0]
30
+ let orient = value.includes('row') ? 'horizontal' : 'vertical'
31
+ let dir = value.includes('reverse') ? 'reverse' : 'normal'
59
32
 
33
+ let cloned = this.clone(decl)
34
+ cloned.prop = prefix + 'box-orient'
35
+ cloned.value = orient
60
36
  if (this.needCascade(decl)) {
61
- cloned.raws.before = this.calcBefore(prefixes, decl, prefix);
37
+ cloned.raws.before = this.calcBefore(prefixes, decl, prefix)
62
38
  }
39
+ decl.parent.insertBefore(decl, cloned)
63
40
 
64
- decl.parent.insertBefore(decl, cloned);
65
- cloned = this.clone(decl);
66
- cloned.prop = prefix + 'box-direction';
67
- cloned.value = dir;
68
-
41
+ cloned = this.clone(decl)
42
+ cloned.prop = prefix + 'box-direction'
43
+ cloned.value = dir
69
44
  if (this.needCascade(decl)) {
70
- cloned.raws.before = this.calcBefore(prefixes, decl, prefix);
45
+ cloned.raws.before = this.calcBefore(prefixes, decl, prefix)
71
46
  }
47
+ return decl.parent.insertBefore(decl, cloned)
48
+ }
49
+ }
72
50
 
73
- return decl.parent.insertBefore(decl, cloned);
74
- };
75
-
76
- return FlexFlow;
77
- }(Declaration);
78
-
79
- _defineProperty(FlexFlow, "names", ['flex-flow', 'box-direction', 'box-orient']);
51
+ FlexFlow.names = ['flex-flow', 'box-direction', 'box-orient']
80
52
 
81
- module.exports = FlexFlow;
53
+ module.exports = FlexFlow
@@ -1,57 +1,30 @@
1
- "use strict";
2
-
3
- function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
4
-
5
- function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _defaults(subClass, superClass); }
6
-
7
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
-
9
- var flexSpec = require('./flex-spec');
10
-
11
- var Declaration = require('../declaration');
12
-
13
- var Flex = /*#__PURE__*/function (_Declaration) {
14
- _inheritsLoose(Flex, _Declaration);
15
-
16
- function Flex() {
17
- return _Declaration.apply(this, arguments) || this;
18
- }
19
-
20
- var _proto = Flex.prototype;
1
+ let flexSpec = require('./flex-spec')
2
+ let Declaration = require('../declaration')
21
3
 
4
+ class Flex extends Declaration {
22
5
  /**
23
6
  * Return property name by final spec
24
7
  */
25
- _proto.normalize = function normalize() {
26
- return 'flex';
8
+ normalize () {
9
+ return 'flex'
27
10
  }
11
+
28
12
  /**
29
13
  * Return flex property for 2009 and 2012 specs
30
14
  */
31
- ;
32
-
33
- _proto.prefixed = function prefixed(prop, prefix) {
34
- var spec;
35
-
36
- var _flexSpec = flexSpec(prefix);
37
-
38
- spec = _flexSpec[0];
39
- prefix = _flexSpec[1];
40
-
15
+ prefixed (prop, prefix) {
16
+ let spec
17
+ ;[spec, prefix] = flexSpec(prefix)
41
18
  if (spec === 2009) {
42
- return prefix + 'box-flex';
19
+ return prefix + 'box-flex'
43
20
  }
44
-
45
21
  if (spec === 2012) {
46
- return prefix + 'flex-positive';
22
+ return prefix + 'flex-positive'
47
23
  }
24
+ return super.prefixed(prop, prefix)
25
+ }
26
+ }
48
27
 
49
- return _Declaration.prototype.prefixed.call(this, prop, prefix);
50
- };
51
-
52
- return Flex;
53
- }(Declaration);
54
-
55
- _defineProperty(Flex, "names", ['flex-grow', 'flex-positive']);
28
+ Flex.names = ['flex-grow', 'flex-positive']
56
29
 
57
- module.exports = Flex;
30
+ module.exports = Flex
@@ -1,72 +1,39 @@
1
- "use strict";
2
-
3
- function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
4
-
5
- function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _defaults(subClass, superClass); }
6
-
7
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
-
9
- var flexSpec = require('./flex-spec');
10
-
11
- var Declaration = require('../declaration');
12
-
13
- var FlexShrink = /*#__PURE__*/function (_Declaration) {
14
- _inheritsLoose(FlexShrink, _Declaration);
15
-
16
- function FlexShrink() {
17
- return _Declaration.apply(this, arguments) || this;
18
- }
19
-
20
- var _proto = FlexShrink.prototype;
1
+ let flexSpec = require('./flex-spec')
2
+ let Declaration = require('../declaration')
21
3
 
4
+ class FlexShrink extends Declaration {
22
5
  /**
23
6
  * Return property name by final spec
24
7
  */
25
- _proto.normalize = function normalize() {
26
- return 'flex-shrink';
8
+ normalize () {
9
+ return 'flex-shrink'
27
10
  }
11
+
28
12
  /**
29
13
  * Return flex property for 2012 spec
30
14
  */
31
- ;
32
-
33
- _proto.prefixed = function prefixed(prop, prefix) {
34
- var spec;
35
-
36
- var _flexSpec = flexSpec(prefix);
37
-
38
- spec = _flexSpec[0];
39
- prefix = _flexSpec[1];
40
-
15
+ prefixed (prop, prefix) {
16
+ let spec
17
+ ;[spec, prefix] = flexSpec(prefix)
41
18
  if (spec === 2012) {
42
- return prefix + 'flex-negative';
19
+ return prefix + 'flex-negative'
43
20
  }
44
-
45
- return _Declaration.prototype.prefixed.call(this, prop, prefix);
21
+ return super.prefixed(prop, prefix)
46
22
  }
23
+
47
24
  /**
48
25
  * Ignore 2009 spec and use flex property for 2012
49
26
  */
50
- ;
51
-
52
- _proto.set = function set(decl, prefix) {
53
- var spec;
54
-
55
- var _flexSpec2 = flexSpec(prefix);
56
-
57
- spec = _flexSpec2[0];
58
- prefix = _flexSpec2[1];
59
-
27
+ set (decl, prefix) {
28
+ let spec
29
+ ;[spec, prefix] = flexSpec(prefix)
60
30
  if (spec === 2012 || spec === 'final') {
61
- return _Declaration.prototype.set.call(this, decl, prefix);
31
+ return super.set(decl, prefix)
62
32
  }
33
+ return undefined
34
+ }
35
+ }
63
36
 
64
- return undefined;
65
- };
66
-
67
- return FlexShrink;
68
- }(Declaration);
69
-
70
- _defineProperty(FlexShrink, "names", ['flex-shrink', 'flex-negative']);
37
+ FlexShrink.names = ['flex-shrink', 'flex-negative']
71
38
 
72
- module.exports = FlexShrink;
39
+ module.exports = FlexShrink
@@ -1,22 +1,19 @@
1
- "use strict";
2
-
3
1
  /**
4
2
  * Return flexbox spec versions by prefix
5
3
  */
6
4
  module.exports = function (prefix) {
7
- var spec;
8
-
5
+ let spec
9
6
  if (prefix === '-webkit- 2009' || prefix === '-moz-') {
10
- spec = 2009;
7
+ spec = 2009
11
8
  } else if (prefix === '-ms-') {
12
- spec = 2012;
9
+ spec = 2012
13
10
  } else if (prefix === '-webkit-') {
14
- spec = 'final';
11
+ spec = 'final'
15
12
  }
16
13
 
17
14
  if (prefix === '-webkit- 2009') {
18
- prefix = '-webkit-';
15
+ prefix = '-webkit-'
19
16
  }
20
17
 
21
- return [spec, prefix];
22
- };
18
+ return [spec, prefix]
19
+ }
@@ -1,40 +1,19 @@
1
- "use strict";
2
-
3
- function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
4
-
5
- function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _defaults(subClass, superClass); }
6
-
7
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
-
9
- var flexSpec = require('./flex-spec');
10
-
11
- var Declaration = require('../declaration');
12
-
13
- var FlexWrap = /*#__PURE__*/function (_Declaration) {
14
- _inheritsLoose(FlexWrap, _Declaration);
15
-
16
- function FlexWrap() {
17
- return _Declaration.apply(this, arguments) || this;
18
- }
19
-
20
- var _proto = FlexWrap.prototype;
1
+ let flexSpec = require('./flex-spec')
2
+ let Declaration = require('../declaration')
21
3
 
4
+ class FlexWrap extends Declaration {
22
5
  /**
23
6
  * Don't add prefix for 2009 spec
24
7
  */
25
- _proto.set = function set(decl, prefix) {
26
- var spec = flexSpec(prefix)[0];
27
-
8
+ set (decl, prefix) {
9
+ let spec = flexSpec(prefix)[0]
28
10
  if (spec !== 2009) {
29
- return _Declaration.prototype.set.call(this, decl, prefix);
11
+ return super.set(decl, prefix)
30
12
  }
13
+ return undefined
14
+ }
15
+ }
31
16
 
32
- return undefined;
33
- };
34
-
35
- return FlexWrap;
36
- }(Declaration);
37
-
38
- _defineProperty(FlexWrap, "names", ['flex-wrap']);
17
+ FlexWrap.names = ['flex-wrap']
39
18
 
40
- module.exports = FlexWrap;
19
+ module.exports = FlexWrap
package/lib/hacks/flex.js CHANGED
@@ -1,85 +1,54 @@
1
- "use strict";
1
+ let list = require('postcss').list
2
2
 
3
- function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
4
-
5
- function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _defaults(subClass, superClass); }
6
-
7
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
-
9
- var list = require('postcss').list;
10
-
11
- var flexSpec = require('./flex-spec');
12
-
13
- var Declaration = require('../declaration');
14
-
15
- var Flex = /*#__PURE__*/function (_Declaration) {
16
- _inheritsLoose(Flex, _Declaration);
17
-
18
- function Flex() {
19
- return _Declaration.apply(this, arguments) || this;
20
- }
21
-
22
- var _proto = Flex.prototype;
3
+ let flexSpec = require('./flex-spec')
4
+ let Declaration = require('../declaration')
23
5
 
6
+ class Flex extends Declaration {
24
7
  /**
25
8
  * Change property name for 2009 spec
26
9
  */
27
- _proto.prefixed = function prefixed(prop, prefix) {
28
- var spec;
29
-
30
- var _flexSpec = flexSpec(prefix);
31
-
32
- spec = _flexSpec[0];
33
- prefix = _flexSpec[1];
34
-
10
+ prefixed (prop, prefix) {
11
+ let spec
12
+ ;[spec, prefix] = flexSpec(prefix)
35
13
  if (spec === 2009) {
36
- return prefix + 'box-flex';
14
+ return prefix + 'box-flex'
37
15
  }
38
-
39
- return _Declaration.prototype.prefixed.call(this, prop, prefix);
16
+ return super.prefixed(prop, prefix)
40
17
  }
18
+
41
19
  /**
42
20
  * Return property name by final spec
43
21
  */
44
- ;
45
-
46
- _proto.normalize = function normalize() {
47
- return 'flex';
22
+ normalize () {
23
+ return 'flex'
48
24
  }
25
+
49
26
  /**
50
27
  * Spec 2009 supports only first argument
51
28
  * Spec 2012 disallows unitless basis
52
29
  */
53
- ;
54
-
55
- _proto.set = function set(decl, prefix) {
56
- var spec = flexSpec(prefix)[0];
57
-
30
+ set (decl, prefix) {
31
+ let spec = flexSpec(prefix)[0]
58
32
  if (spec === 2009) {
59
- decl.value = list.space(decl.value)[0];
60
- decl.value = Flex.oldValues[decl.value] || decl.value;
61
- return _Declaration.prototype.set.call(this, decl, prefix);
33
+ decl.value = list.space(decl.value)[0]
34
+ decl.value = Flex.oldValues[decl.value] || decl.value
35
+ return super.set(decl, prefix)
62
36
  }
63
-
64
37
  if (spec === 2012) {
65
- var components = list.space(decl.value);
66
-
38
+ let components = list.space(decl.value)
67
39
  if (components.length === 3 && components[2] === '0') {
68
- decl.value = components.slice(0, 2).concat('0px').join(' ');
40
+ decl.value = components.slice(0, 2).concat('0px').join(' ')
69
41
  }
70
42
  }
43
+ return super.set(decl, prefix)
44
+ }
45
+ }
71
46
 
72
- return _Declaration.prototype.set.call(this, decl, prefix);
73
- };
74
-
75
- return Flex;
76
- }(Declaration);
77
-
78
- _defineProperty(Flex, "names", ['flex', 'box-flex']);
47
+ Flex.names = ['flex', 'box-flex']
79
48
 
80
- _defineProperty(Flex, "oldValues", {
49
+ Flex.oldValues = {
81
50
  auto: '1',
82
51
  none: '0'
83
- });
52
+ }
84
53
 
85
- module.exports = Flex;
54
+ module.exports = Flex
@@ -1,40 +1,20 @@
1
- "use strict";
2
-
3
- function _defaults(obj, defaults) { var keys = Object.getOwnPropertyNames(defaults); for (var i = 0; i < keys.length; i++) { var key = keys[i]; var value = Object.getOwnPropertyDescriptor(defaults, key); if (value && value.configurable && obj[key] === undefined) { Object.defineProperty(obj, key, value); } } return obj; }
4
-
5
- function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _defaults(subClass, superClass); }
6
-
7
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
-
9
- var Selector = require('../selector');
10
-
11
- var Fullscreen = /*#__PURE__*/function (_Selector) {
12
- _inheritsLoose(Fullscreen, _Selector);
13
-
14
- function Fullscreen() {
15
- return _Selector.apply(this, arguments) || this;
16
- }
17
-
18
- var _proto = Fullscreen.prototype;
1
+ let Selector = require('../selector')
19
2
 
3
+ class Fullscreen extends Selector {
20
4
  /**
21
5
  * Return different selectors depend on prefix
22
6
  */
23
- _proto.prefixed = function prefixed(prefix) {
7
+ prefixed (prefix) {
24
8
  if (prefix === '-webkit-') {
25
- return ':-webkit-full-screen';
9
+ return ':-webkit-full-screen'
26
10
  }
27
-
28
11
  if (prefix === '-moz-') {
29
- return ':-moz-full-screen';
12
+ return ':-moz-full-screen'
30
13
  }
14
+ return `:${prefix}fullscreen`
15
+ }
16
+ }
31
17
 
32
- return ":" + prefix + "fullscreen";
33
- };
34
-
35
- return Fullscreen;
36
- }(Selector);
37
-
38
- _defineProperty(Fullscreen, "names", [':fullscreen']);
18
+ Fullscreen.names = [':fullscreen']
39
19
 
40
- module.exports = Fullscreen;
20
+ module.exports = Fullscreen