autoprefixer 10.3.0 → 10.3.4

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.
package/data/prefixes.js CHANGED
@@ -583,7 +583,15 @@ f(prefixIntrinsic, browsers =>
583
583
  )
584
584
 
585
585
  f(prefixIntrinsic, { match: /x|\s#4/ }, browsers =>
586
- prefix(['fill', 'fill-available', 'stretch'], {
586
+ prefix(['fill', 'fill-available'], {
587
+ props: sizeProps,
588
+ feature: 'intrinsic-width',
589
+ browsers
590
+ })
591
+ )
592
+
593
+ f(prefixIntrinsic, { match: /x|\s#5/ }, browsers =>
594
+ prefix(['stretch'], {
587
595
  props: sizeProps,
588
596
  feature: 'intrinsic-width',
589
597
  browsers
@@ -1,6 +1,19 @@
1
1
  let Selector = require('../selector')
2
+ let utils = require('../utils')
2
3
 
3
4
  class FileSelectorButton extends Selector {
5
+ constructor(name, prefixes, all) {
6
+ super(name, prefixes, all)
7
+
8
+ if (this.prefixes) {
9
+ this.prefixes = utils.uniq(
10
+ this.prefixes.map(i => {
11
+ return '-webkit-'
12
+ })
13
+ )
14
+ }
15
+ }
16
+
4
17
  /**
5
18
  * Return different selectors depend on prefix
6
19
  */
@@ -8,7 +21,7 @@ class FileSelectorButton extends Selector {
8
21
  if (prefix === '-webkit-') {
9
22
  return '::-webkit-file-upload-button'
10
23
  }
11
- return `::file-selector-button`
24
+ return `::${prefix}file-selector-button`
12
25
  }
13
26
  }
14
27
 
package/lib/processor.js CHANGED
@@ -497,6 +497,9 @@ class Processor {
497
497
  return true
498
498
  }
499
499
  }
500
+ if (node.type === 'decl' && node.prop === 'content') {
501
+ return true
502
+ }
500
503
 
501
504
  return this.disabled(node, result)
502
505
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "autoprefixer",
3
- "version": "10.3.0",
3
+ "version": "10.3.4",
4
4
  "description": "Parse CSS and add vendor prefixes to CSS rules using values from the Can I Use website",
5
5
  "engines": {
6
6
  "node": "^10 || ^12 || >=14"
@@ -26,9 +26,9 @@
26
26
  "postcss": "^8.1.0"
27
27
  },
28
28
  "dependencies": {
29
- "browserslist": "^4.16.6",
30
- "caniuse-lite": "^1.0.30001243",
31
- "colorette": "^1.2.2",
29
+ "browserslist": "^4.16.8",
30
+ "caniuse-lite": "^1.0.30001252",
31
+ "colorette": "^1.3.0",
32
32
  "fraction.js": "^4.1.1",
33
33
  "normalize-range": "^0.1.2",
34
34
  "postcss-value-parser": "^4.1.0"