-
-
Notifications
You must be signed in to change notification settings - Fork 84
Expand file tree
/
Copy pathids-by-execution-order.mjs
More file actions
81 lines (76 loc) · 2.6 KB
/
ids-by-execution-order.mjs
File metadata and controls
81 lines (76 loc) · 2.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
// ids ordered by required execution, then alphabetically
export default [
'mixins',
'custom-media-queries',
'environment-variables', // run environment-variables here to access transpiled custom media params and properties
'image-set-function', // run images-set-function before nesting-rules so that it may fix nested media
'media-query-ranges', // run media-query-range
'media-queries-aspect-ratio-number-values',
'prefers-color-scheme-query', // run prefers-color-scheme-query here to prevent duplicate transpilation after nesting-rules
'nesting-rules',
'custom-selectors', // run custom-selectors after nesting-rules to correctly transpile &:--custom-selector
'any-link-pseudo-class',
'case-insensitive-attributes',
'focus-visible-pseudo-class',
'focus-within-pseudo-class',
'not-pseudo-class', // run not-pseudo-class after other selectors have been transpiled
'logical-properties-and-values', // run logical-properties-and-values before dir-pseudo-class
'float-clear-logical-values',
'logical-overflow',
'logical-overscroll-behavior',
'logical-resize',
'logical-viewport-units',
'dir-pseudo-class',
'all-property', // run all-property before other property polyfills
'gradients-interpolation-method', // run before all color functions
'color-mix-variadic-function-arguments', // run before any other color functions, including base color-mix
'color-mix', // run before any other color functions
'contrast-color-function',
'alpha-function',
'relative-color-syntax',
'lab-function',
'oklab-function',
'color-function-display-p3-linear',
'color-function',
'hwb-function',
'color-functional-notation',
'rebeccapurple-color',
'hexadecimal-alpha-notation',
'light-dark-function', // run after any other color functions
'double-position-gradients',
'blank-pseudo-class',
'break-properties',
'font-variant-property',
'is-pseudo-class', // after other selector transforms, before :has()
'scope-pseudo-class',
'has-pseudo-class',
'gap-properties',
'overflow-property',
'overflow-wrap-property',
'place-properties',
'position-area-property',
'system-ui-font-family',
'font-format-keywords',
'display-two-values',
'content-alt-text',
'ic-unit',
'opacity-percentage',
'text-decoration-shorthand',
'unset-value',
'property-rule-prelude-list',
'syntax-descriptor-syntax-production',
// Math functions.
'random-function',
'sign-functions',
'stepped-value-functions',
'trigonometric-functions',
'exponential-functions',
'clamp',
'nested-calc',
// Math functions.
// must be after all value related rules
'custom-properties',
'cascade-layers',
'progressive-custom-properties',
'gamut-mapping',
];