@webref/css 6.22.0 → 7.0.0-alpha

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 (121) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/README.md +37 -22
  3. package/css.json +17754 -0
  4. package/index.js +2 -9
  5. package/package.json +1 -1
  6. package/CSS.json +0 -559
  7. package/SVG.json +0 -387
  8. package/compat.json +0 -784
  9. package/compositing.json +0 -178
  10. package/css-align.json +0 -559
  11. package/css-anchor-position.json +0 -1042
  12. package/css-animations-2.json +0 -377
  13. package/css-animations.json +0 -337
  14. package/css-backgrounds-4.json +0 -402
  15. package/css-backgrounds.json +0 -732
  16. package/css-borders.json +0 -1636
  17. package/css-box.json +0 -484
  18. package/css-break.json +0 -444
  19. package/css-cascade-6.json +0 -31
  20. package/css-cascade.json +0 -91
  21. package/css-color-5.json +0 -527
  22. package/css-color-6.json +0 -60
  23. package/css-color-adjust.json +0 -151
  24. package/css-color-hdr.json +0 -183
  25. package/css-color.json +0 -1759
  26. package/css-conditional-4.json +0 -23
  27. package/css-conditional-5.json +0 -505
  28. package/css-conditional.json +0 -50
  29. package/css-contain.json +0 -123
  30. package/css-content.json +0 -466
  31. package/css-counter-styles.json +0 -613
  32. package/css-display.json +0 -444
  33. package/css-easing.json +0 -149
  34. package/css-env.json +0 -109
  35. package/css-exclusions.json +0 -108
  36. package/css-extensions.json +0 -36
  37. package/css-flexbox.json +0 -259
  38. package/css-fonts-5.json +0 -385
  39. package/css-fonts.json +0 -1754
  40. package/css-forms.json +0 -263
  41. package/css-gaps.json +0 -544
  42. package/css-gcpm-4.json +0 -55
  43. package/css-gcpm.json +0 -138
  44. package/css-grid-3.json +0 -335
  45. package/css-grid.json +0 -824
  46. package/css-images-4.json +0 -367
  47. package/css-images-5.json +0 -43
  48. package/css-images.json +0 -373
  49. package/css-inline.json +0 -903
  50. package/css-layout-api.json +0 -21
  51. package/css-line-grid.json +0 -142
  52. package/css-link-params.json +0 -34
  53. package/css-lists.json +0 -337
  54. package/css-logical.json +0 -396
  55. package/css-masking.json +0 -717
  56. package/css-mixins.json +0 -52
  57. package/css-multicol.json +0 -252
  58. package/css-namespaces.json +0 -25
  59. package/css-nav.json +0 -121
  60. package/css-nesting.json +0 -16
  61. package/css-overflow-4.json +0 -428
  62. package/css-overflow-5.json +0 -223
  63. package/css-overflow.json +0 -379
  64. package/css-overscroll.json +0 -215
  65. package/css-page-floats.json +0 -296
  66. package/css-page.json +0 -382
  67. package/css-paint-api.json +0 -17
  68. package/css-position-4.json +0 -48
  69. package/css-position.json +0 -495
  70. package/css-properties-values-api.json +0 -39
  71. package/css-pseudo.json +0 -85
  72. package/css-regions.json +0 -59
  73. package/css-rhythm.json +0 -181
  74. package/css-round-display.json +0 -85
  75. package/css-ruby.json +0 -221
  76. package/css-scoping.json +0 -36
  77. package/css-scroll-anchoring.json +0 -43
  78. package/css-scroll-snap-2.json +0 -69
  79. package/css-scroll-snap.json +0 -643
  80. package/css-scrollbars.json +0 -82
  81. package/css-shadow-parts.json +0 -17
  82. package/css-shapes-2.json +0 -273
  83. package/css-shapes.json +0 -200
  84. package/css-size-adjust.json +0 -50
  85. package/css-sizing-4.json +0 -601
  86. package/css-sizing.json +0 -427
  87. package/css-speech.json +0 -985
  88. package/css-syntax.json +0 -263
  89. package/css-tables.json +0 -91
  90. package/css-text-4.json +0 -1516
  91. package/css-text-decor-4.json +0 -741
  92. package/css-text-decor.json +0 -337
  93. package/css-text.json +0 -670
  94. package/css-transforms-2.json +0 -329
  95. package/css-transforms.json +0 -213
  96. package/css-transitions-2.json +0 -47
  97. package/css-transitions.json +0 -119
  98. package/css-ui.json +0 -818
  99. package/css-values-5.json +0 -651
  100. package/css-values.json +0 -790
  101. package/css-variables.json +0 -29
  102. package/css-view-transitions-2.json +0 -151
  103. package/css-view-transitions.json +0 -76
  104. package/css-viewport.json +0 -43
  105. package/css-will-change.json +0 -64
  106. package/css-writing-modes.json +0 -256
  107. package/fill-stroke.json +0 -755
  108. package/filter-effects-2.json +0 -28
  109. package/filter-effects.json +0 -220
  110. package/html.json +0 -29
  111. package/mathml-core.json +0 -69
  112. package/mediaqueries-5.json +0 -915
  113. package/mediaqueries.json +0 -549
  114. package/motion.json +0 -303
  115. package/scroll-animations.json +0 -519
  116. package/selectors-5.json +0 -21
  117. package/selectors.json +0 -546
  118. package/svg-strokes.json +0 -59
  119. package/upgrade-insecure-requests.json +0 -28
  120. package/webvtt.json +0 -31
  121. package/webxr-dom-overlays.json +0 -16
@@ -1,151 +0,0 @@
1
- {
2
- "spec": {
3
- "title": "CSS Color Adjustment Module Level 1",
4
- "url": "https://drafts.csswg.org/css-color-adjust-1/"
5
- },
6
- "properties": [
7
- {
8
- "name": "color-scheme",
9
- "href": "https://drafts.csswg.org/css-color-adjust-1/#propdef-color-scheme",
10
- "value": "normal | [ light | dark | <custom-ident> ]+ && only?",
11
- "initial": "normal",
12
- "appliesTo": "all elements and text",
13
- "inherited": "yes",
14
- "percentages": "n/a",
15
- "computedValue": "the keyword normal, or an ordered list of specified color scheme keywords",
16
- "canonicalOrder": "per grammar",
17
- "animationType": "discrete",
18
- "values": [
19
- {
20
- "name": "normal",
21
- "prose": "Indicates that the element supports the page’s supported color schemes, if they are set, or that it supports no color schemes at all otherwise.",
22
- "href": "https://drafts.csswg.org/css-color-adjust-1/#valdef-color-scheme-normal",
23
- "type": "value",
24
- "value": "normal"
25
- },
26
- {
27
- "name": "light",
28
- "prose": "Indicates that the element supports a light color scheme.",
29
- "href": "https://drafts.csswg.org/css-color-adjust-1/#valdef-color-scheme-light",
30
- "type": "value",
31
- "value": "light"
32
- },
33
- {
34
- "name": "dark",
35
- "prose": "Indicates that the element supports a dark color scheme.",
36
- "href": "https://drafts.csswg.org/css-color-adjust-1/#valdef-color-scheme-dark",
37
- "type": "value",
38
- "value": "dark"
39
- },
40
- {
41
- "name": "only",
42
- "prose": "Forbids the user agent from overriding the color scheme for the element.",
43
- "href": "https://drafts.csswg.org/css-color-adjust-1/#valdef-color-scheme-only",
44
- "type": "value",
45
- "value": "only"
46
- },
47
- {
48
- "name": "<custom-ident>",
49
- "prose": "<custom-ident> values are meaningless, and exist only for future compatibility, so that future added color schemes do not invalidate the color-scheme declaration in legacy user agents. User agents must not interpret any <custom-ident> values as having a meaning; any additional recognized color schemes must be explicitly added to this property’s grammar. The normal, light, dark, and only keywords are not valid <custom-ident>s in this property.",
50
- "href": "https://drafts.csswg.org/css-color-adjust-1/#valdef-color-scheme-custom-ident",
51
- "type": "value",
52
- "value": "<custom-ident>"
53
- }
54
- ],
55
- "styleDeclaration": [
56
- "color-scheme",
57
- "colorScheme"
58
- ]
59
- },
60
- {
61
- "name": "forced-color-adjust",
62
- "href": "https://drafts.csswg.org/css-color-adjust-1/#propdef-forced-color-adjust",
63
- "value": "auto | none | preserve-parent-color",
64
- "initial": "auto",
65
- "appliesTo": "all elements and text",
66
- "inherited": "yes",
67
- "percentages": "n/a",
68
- "computedValue": "as specified",
69
- "canonicalOrder": "per grammar",
70
- "animationType": "not animatable",
71
- "values": [
72
- {
73
- "name": "auto",
74
- "prose": "The element’s colors are automatically adjusted by the UA in forced colors mode.",
75
- "href": "https://drafts.csswg.org/css-color-adjust-1/#valdef-forced-color-adjust-auto",
76
- "type": "value",
77
- "value": "auto"
78
- },
79
- {
80
- "name": "none",
81
- "prose": "The element’s colors are not automatically adjusted by the UA in forced colors mode. Authors should only use this value when they are themselves adjusting the colors to support the user’s color and contrast needs and need to make changes to the UA’s default adjustments to provide a more appropriate user experience for those elements.",
82
- "href": "https://drafts.csswg.org/css-color-adjust-1/#valdef-forced-color-adjust-none",
83
- "type": "value",
84
- "value": "none"
85
- },
86
- {
87
- "name": "preserve-parent-color",
88
- "prose": "In forced colors mode, if the color property inherits from its parent (i.e. there is no cascaded value or the cascaded value is currentColor, inherit, or another keyword that inherits from the parent), then it computes to the used color of its parent’s color value. In all other respects, behaves the same as none.",
89
- "href": "https://drafts.csswg.org/css-color-adjust-1/#valdef-forced-color-adjust-preserve-parent-color",
90
- "type": "value",
91
- "value": "preserve-parent-color"
92
- }
93
- ],
94
- "styleDeclaration": [
95
- "forced-color-adjust",
96
- "forcedColorAdjust"
97
- ]
98
- },
99
- {
100
- "name": "print-color-adjust",
101
- "href": "https://drafts.csswg.org/css-color-adjust-1/#propdef-print-color-adjust",
102
- "value": "economy | exact",
103
- "initial": "economy",
104
- "appliesTo": "all elements",
105
- "inherited": "yes",
106
- "percentages": "N/A",
107
- "computedValue": "specified keyword",
108
- "canonicalOrder": "per grammar",
109
- "animationType": "discrete",
110
- "values": [
111
- {
112
- "name": "economy",
113
- "prose": "The user agent should make adjustments to the page’s styling as it deems necessary and prudent for the output device. For example, if the document is being printed, a user agent might ignore any backgrounds and adjust text color to be sufficiently dark, to minimize ink usage.",
114
- "href": "https://drafts.csswg.org/css-color-adjust-1/#valdef-print-color-adjust-economy",
115
- "type": "value",
116
- "value": "economy"
117
- },
118
- {
119
- "name": "exact",
120
- "prose": "This value indicates that the page is using color and styling on the specified element in a way which is important and significant, and which should not be tweaked or changed except at the user’s request. For example, a mapping website offering printed directions might \"zebra-stripe\" the steps in the directions, alternating between white and light gray backgrounds. Losing this zebra-striping and having a pure-white background would make the directions harder to read with a quick glance when distracted in a car.",
121
- "href": "https://drafts.csswg.org/css-color-adjust-1/#valdef-print-color-adjust-exact",
122
- "type": "value",
123
- "value": "exact"
124
- }
125
- ],
126
- "styleDeclaration": [
127
- "print-color-adjust",
128
- "printColorAdjust"
129
- ]
130
- },
131
- {
132
- "name": "color-adjust",
133
- "href": "https://drafts.csswg.org/css-color-adjust-1/#propdef-color-adjust",
134
- "value": "<'print-color-adjust'>",
135
- "initial": "see individual properties",
136
- "appliesTo": "see individual properties",
137
- "inherited": "see individual properties",
138
- "percentages": "see individual properties",
139
- "computedValue": "see individual properties",
140
- "animationType": "see individual properties",
141
- "canonicalOrder": "per grammar",
142
- "styleDeclaration": [
143
- "color-adjust",
144
- "colorAdjust"
145
- ]
146
- }
147
- ],
148
- "atrules": [],
149
- "selectors": [],
150
- "values": []
151
- }
@@ -1,183 +0,0 @@
1
- {
2
- "spec": {
3
- "title": "CSS Color HDR Module Level 1",
4
- "url": "https://drafts.csswg.org/css-color-hdr-1/"
5
- },
6
- "properties": [
7
- {
8
- "name": "dynamic-range-limit",
9
- "href": "https://drafts.csswg.org/css-color-hdr-1/#propdef-dynamic-range-limit",
10
- "value": "standard | no-limit | constrained | <dynamic-range-limit-mix()>",
11
- "initial": "no-limit",
12
- "appliesTo": "all elements",
13
- "inherited": "yes",
14
- "percentages": "n/a",
15
- "computedValue": "see Computed Value for dynamic-range-limit",
16
- "canonicalOrder": "per grammar",
17
- "animationType": "by dynamic-range-limit-mix()",
18
- "values": [
19
- {
20
- "name": "standard",
21
- "prose": "The highest luminance color that is displayed is the same as HDR reference white, i.e. the CSS color white.",
22
- "href": "https://drafts.csswg.org/css-color-hdr-1/#valdef-dynamic-range-limit-standard",
23
- "type": "value",
24
- "value": "standard"
25
- },
26
- {
27
- "name": "no-limit",
28
- "prose": "The highest peak luminance that is displayed is much greater than HDR reference white, i.e. the CSS color white; the precise level is not specified.",
29
- "href": "https://drafts.csswg.org/css-color-hdr-1/#valdef-dynamic-range-limit-no-limit",
30
- "type": "value",
31
- "value": "no-limit"
32
- },
33
- {
34
- "name": "constrained",
35
- "prose": "The highest peak luminance that is displayed is somewhat greater than HDR reference white, i.e. the CSS color white, such that a mix of SDR and HDR content can be comfortably viewed together.",
36
- "href": "https://drafts.csswg.org/css-color-hdr-1/#valdef-dynamic-range-limit-constrained",
37
- "type": "value",
38
- "value": "constrained"
39
- }
40
- ],
41
- "styleDeclaration": [
42
- "dynamic-range-limit",
43
- "dynamicRangeLimit"
44
- ]
45
- }
46
- ],
47
- "atrules": [],
48
- "selectors": [],
49
- "values": [
50
- {
51
- "name": "dynamic-range-limit-mix()",
52
- "href": "https://drafts.csswg.org/css-color-hdr-1/#funcdef-dynamic-range-limit-mix",
53
- "type": "function",
54
- "value": "dynamic-range-limit-mix( [ <'dynamic-range-limit'> && <percentage [0,100]> ]#{2,} )"
55
- },
56
- {
57
- "name": "<color-function>",
58
- "href": "https://drafts.csswg.org/css-color-hdr-1/#typedef-color-function",
59
- "type": "type",
60
- "value": "<rgb()> | <rgba()> | <hsl()> | <hsla()> | <hwb()> | <lab()> | <lch()> | <oklab()> | <oklch()> | <ictcp()> | <jzazbz()> | <jzczhz()> | <color()>"
61
- },
62
- {
63
- "name": "ictcp()",
64
- "href": "https://drafts.csswg.org/css-color-hdr-1/#funcdef-ictcp",
65
- "type": "function",
66
- "value": "ictcp([from <color>]? [<percentage> | <number> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )",
67
- "values": [
68
- {
69
- "name": "i",
70
- "prose": "i is a <number> that corresponds to the origin color’s I (Lightness) after conversion, if required, to ictcp. 1.0 is equivalent to 100%.",
71
- "href": "https://drafts.csswg.org/css-color-hdr-1/#valdef-ictcp-i",
72
- "type": "value",
73
- "value": "i"
74
- },
75
- {
76
- "name": "ct",
77
- "prose": "ct and cp are <number>s that correspond to the origin color’s ct and cp axes after conversion, if required, to ictcp. 0.5 is equivalent to 100%, while -0.5 is equivalent to -100%.",
78
- "href": "https://drafts.csswg.org/css-color-hdr-1/#valdef-ictcp-ct",
79
- "type": "value",
80
- "value": "ct"
81
- },
82
- {
83
- "name": "cp",
84
- "prose": "ct and cp are <number>s that correspond to the origin color’s ct and cp axes after conversion, if required, to ictcp. 0.5 is equivalent to 100%, while -0.5 is equivalent to -100%.",
85
- "href": "https://drafts.csswg.org/css-color-hdr-1/#valdef-ictcp-cp",
86
- "type": "value",
87
- "value": "cp"
88
- },
89
- {
90
- "name": "alpha",
91
- "prose": "alpha is a <number> that corresponds to the origin color’s alpha transparency. 1.0 is equivalent to 100%.",
92
- "href": "https://drafts.csswg.org/css-color-hdr-1/#valdef-ictcp-alpha",
93
- "type": "value",
94
- "value": "alpha"
95
- }
96
- ]
97
- },
98
- {
99
- "name": "jzazbz()",
100
- "href": "https://drafts.csswg.org/css-color-hdr-1/#funcdef-jzazbz",
101
- "type": "function",
102
- "value": "jzazbz([from <color>]? [<percentage> | <number> | none] [<percentage> | <number> | none] [<percentage> | <number> | none] [ / [<alpha-value> | none] ]? )",
103
- "values": [
104
- {
105
- "name": "j",
106
- "prose": "j is a <number> that corresponds to the origin color’s Jz (Lightness) after conversion, if required, to jzazbz. 1.0 is equivalent to 100%.",
107
- "href": "https://drafts.csswg.org/css-color-hdr-1/#valdef-jzazbz-j",
108
- "type": "value",
109
- "value": "j"
110
- },
111
- {
112
- "name": "a",
113
- "prose": "a and b are <number>s that correspond to the origin color’s az and bz axes after conversion, if required, to jzazbz. 0.21 is equivalent to 100%, while -0.21 is equivalent to -100%.",
114
- "href": "https://drafts.csswg.org/css-color-hdr-1/#valdef-jzazbz-a",
115
- "type": "value",
116
- "value": "a"
117
- },
118
- {
119
- "name": "b",
120
- "prose": "a and b are <number>s that correspond to the origin color’s az and bz axes after conversion, if required, to jzazbz. 0.21 is equivalent to 100%, while -0.21 is equivalent to -100%.",
121
- "href": "https://drafts.csswg.org/css-color-hdr-1/#valdef-jzazbz-b",
122
- "type": "value",
123
- "value": "b"
124
- },
125
- {
126
- "name": "alpha",
127
- "prose": "alpha is a <number> that corresponds to the origin color’s alpha transparency. 1.0 is equivalent to 100%.",
128
- "href": "https://drafts.csswg.org/css-color-hdr-1/#valdef-jzazbz-alpha",
129
- "type": "value",
130
- "value": "alpha"
131
- }
132
- ]
133
- },
134
- {
135
- "name": "jzczhz()",
136
- "href": "https://drafts.csswg.org/css-color-hdr-1/#funcdef-jzczhz",
137
- "type": "function",
138
- "value": "jzczhz([from <color>]? [<percentage> | <number> | none] [<percentage> | <number> | none] [<hue> | none] [ / [<alpha-value> | none] ]? )",
139
- "values": [
140
- {
141
- "name": "j",
142
- "prose": "j is a <number> that corresponds to the origin color’s Jz (Lightness) after conversion, if required, to jzczhz. 100 is equivalent to 100%.",
143
- "href": "https://drafts.csswg.org/css-color-hdr-1/#valdef-jzczhz-j",
144
- "type": "value",
145
- "value": "j"
146
- },
147
- {
148
- "name": "c",
149
- "prose": "c is a <number> that corresponds to the origin color’s Cz (chroma) after conversion, if required, to jzczhz. 0.26 is equivalent to 100%.",
150
- "href": "https://drafts.csswg.org/css-color-hdr-1/#valdef-jzczhz-c",
151
- "type": "value",
152
- "value": "c"
153
- },
154
- {
155
- "name": "h",
156
- "prose": "h is a <number> that corresponds to the origin color’s hz (hue), in degrees, after conversion, if required, to jzczhz, normalized to a [0, 360] range. 90 is equivalent to 90deg.",
157
- "href": "https://drafts.csswg.org/css-color-hdr-1/#valdef-jzczhz-h",
158
- "type": "value",
159
- "value": "h"
160
- },
161
- {
162
- "name": "alpha",
163
- "prose": "alpha is a <number> that corresponds to the origin color’s alpha transparency. 1.0 is equivalent to 100%.",
164
- "href": "https://drafts.csswg.org/css-color-hdr-1/#valdef-jzczhz-alpha",
165
- "type": "value",
166
- "value": "alpha"
167
- }
168
- ]
169
- },
170
- {
171
- "name": "hdr-color()",
172
- "href": "https://drafts.csswg.org/css-color-hdr-1/#funcdef-hdr-color",
173
- "type": "function",
174
- "value": "color-hdr([ <color> && <number [0,∞]>? ]#{2})"
175
- },
176
- {
177
- "name": "<predefined-rgb>",
178
- "href": "https://drafts.csswg.org/css-color-hdr-1/#typedef-predefined-rgb",
179
- "type": "type",
180
- "value": "srgb | srgb-linear | display-p3 | a98-rgb | prophoto-rgb | rec2020 | rec2100-pq | rec2100-hlg | rec2100-linear"
181
- }
182
- ]
183
- }