@webref/css 6.10.0 → 6.10.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.
- package/css-anchor-position.json +1 -1
- package/css-animations.json +2 -1
- package/css-backgrounds-4.json +2 -2
- package/css-backgrounds.json +0 -252
- package/css-borders.json +696 -8
- package/css-color-5.json +6 -6
- package/css-grid.json +3 -3
- package/css-images-4.json +8 -1
- package/css-images.json +17 -17
- package/css-logical.json +0 -436
- package/css-overflow-4.json +1 -1
- package/css-rhythm.json +1 -1
- package/css-shapes.json +22 -27
- package/css-speech.json +1 -1
- package/css-text-4.json +14 -14
- package/css-text.json +1 -1
- package/css-transitions.json +1 -1
- package/css-values.json +1 -1
- package/css-view-transitions.json +8 -2
- package/mediaqueries-5.json +1 -1
- package/package.json +1 -1
- package/scroll-animations.json +1 -1
- package/selectors.json +1 -1
package/css-shapes.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"name": "shape-outside",
|
|
9
9
|
"value": "none | [ <basic-shape> || <shape-box> ] | <image>",
|
|
10
10
|
"initial": "none",
|
|
11
|
-
"appliesTo": "floats",
|
|
11
|
+
"appliesTo": "floats and initial letter boxes",
|
|
12
12
|
"inherited": "no",
|
|
13
13
|
"percentages": "n/a",
|
|
14
14
|
"computedValue": "as defined for <basic-shape> (with <shape-box> following, if supplied); else the computed <image>; else the keyword as specified",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
"name": "shape-margin",
|
|
67
67
|
"value": "<length-percentage [0,∞]>",
|
|
68
68
|
"initial": "0",
|
|
69
|
-
"appliesTo": "floats",
|
|
69
|
+
"appliesTo": "floats and initial letter boxes",
|
|
70
70
|
"inherited": "no",
|
|
71
71
|
"percentages": "refer to the inline size of the containing block",
|
|
72
72
|
"computedValue": "computed <length-percentage> value",
|
|
@@ -96,53 +96,48 @@
|
|
|
96
96
|
"values": [
|
|
97
97
|
{
|
|
98
98
|
"name": "inset()",
|
|
99
|
-
"
|
|
100
|
-
"type": "function"
|
|
99
|
+
"prose": "Defines an inset rectangle via insets from each edge of the reference box. If less than four <length-percentage> values are provided, the omitted values default in the same way as the margin shorthand: an omitted second or third value defaults to the first, and an omitted fourth value defaults to the second. The four <length-percentage>s define the position of the top, right, bottom, and left edges of a rectangle, respectively, as insets from the corresponding edges of the reference box. A pair of insets in either dimension that add up to more than the used dimension (such as left and right insets of 75% apiece) use the CSS Backgrounds 3 § 4.5 Overlapping Curves rules to proportionally reduce the inset effect to 100%. For example, specifying inset(75% 0 50% 0) has the top+bottom edges summing to 125% of the reference box’s height. They’re proportionally reduced to sum to 100%, identical to specifying inset(60% 0 40% 0). The optional <'border-radius'> argument(s) define rounded corners for the rectangle using the border-radius shorthand syntax.",
|
|
100
|
+
"type": "function",
|
|
101
|
+
"value": "inset( <length-percentage>{1,4} [ round <'border-radius'> ]? )"
|
|
101
102
|
},
|
|
102
103
|
{
|
|
103
104
|
"name": "xywh()",
|
|
104
|
-
"
|
|
105
|
-
"type": "function"
|
|
105
|
+
"prose": "Defines a rectangle via offsets from the top and left edge of the reference box, and a specified width and height. The four <length-percentage>s define, respectively, the inset from the left edge of the reference box, the inset from the top edge of the reference box, the width of the rectangle, and the height of the rectangle. The optional <'border-radius'> argument(s) define rounded corners for the inset rectangle using the border-radius shorthand syntax.",
|
|
106
|
+
"type": "function",
|
|
107
|
+
"value": "xywh( <length-percentage>{2} <length-percentage [0,∞]>{2} [ round <'border-radius'> ]? )"
|
|
106
108
|
},
|
|
107
109
|
{
|
|
108
110
|
"name": "rect()",
|
|
109
|
-
"
|
|
110
|
-
"type": "function"
|
|
111
|
+
"prose": "Defines a rectangle via insets from the top and left edges of the reference box. The four <length-percentage>s define the position of the top, right, bottom, and left edges of a rectangle, respectively, as insets from the top edge of the reference box (for the first and third values) or the left edge of the reference box (for the second and fourth values). An auto value makes the edge of the box coincide with the corresponding edge of the reference box: it’s equivalent to 0% as the first (top) or fourth (left) value, and equivalent to 100% as the second (right) or third (bottom) value. The second (right) and third (bottom) values are floored by the fourth (left) and second (top) values, respectively. For example, specifying rect(10px 0 0 20px) would place the bottom edge higher than the top edge, and the right edge further left than the left edge, so both are corrected to not cross over the other edge, identical to specifying rect(10px 20px 10px 20px). The optional <'border-radius'> argument(s) define rounded corners for the rectangle using the border-radius shorthand syntax.)",
|
|
112
|
+
"type": "function",
|
|
113
|
+
"value": "rect( [ <length-percentage> | auto ]{4} [ round <'border-radius'> ]? )"
|
|
111
114
|
},
|
|
112
115
|
{
|
|
113
116
|
"name": "circle()",
|
|
114
|
-
"
|
|
115
|
-
"type": "function"
|
|
117
|
+
"prose": "The <radial-size> argument defines the circle’s radius. Rather than referring to the gradient box, values are resolved against the [=/reference box=]. Two <length-percentage> values are invalid. The <position> argument defines the center of the circle. Unless otherwise specified, this defaults to center if omitted.",
|
|
118
|
+
"type": "function",
|
|
119
|
+
"value": "circle( <radial-size>? [ at <position> ]? )"
|
|
116
120
|
},
|
|
117
121
|
{
|
|
118
122
|
"name": "ellipse()",
|
|
119
|
-
"
|
|
120
|
-
"type": "function"
|
|
123
|
+
"prose": "The <radial-size> argument defines the horizontal and vertical radiuses of the ellipse. Rather than referring to the gradient box, values are resolved against the [=/reference box=]. The <position> argument defines the center of the ellipse. Unless otherwise specified, this defaults to center if omitted.",
|
|
124
|
+
"type": "function",
|
|
125
|
+
"value": "ellipse( <radial-size>? [ at <position> ]? )"
|
|
121
126
|
},
|
|
122
127
|
{
|
|
123
128
|
"name": "polygon()",
|
|
124
|
-
"
|
|
125
|
-
"type": "function"
|
|
129
|
+
"prose": "The <'fill-rule'> specifies the filling rule used to determine the interior Defaults to nonzero if omitted. Each <length-percentage> pair specifies a vertex of the polygon, as a horizontal and vertical offset from the left and top edges of the [=/reference box=]. The UA must close a polygon by connecting the last vertex with the first vertex of the list.",
|
|
130
|
+
"type": "function",
|
|
131
|
+
"value": "polygon( <'fill-rule'>? , [<length-percentage> <length-percentage>]# )"
|
|
126
132
|
},
|
|
127
133
|
{
|
|
128
134
|
"name": "path()",
|
|
129
|
-
"
|
|
135
|
+
"prose": "The <'fill-rule'> specifies the filling rule used to determine the interior Defaults to nonzero if omitted. The <string> represents an SVG Path data string. A path data string that does not conform to the to the grammar and parsing rules of SVG 1.1, or that does conform but defines an empty path, is invalid and causes the entire path() to be invalid. The initial position is defined by the first “move to” argument in the path string. For the initial direction follow SVG 1.1. The UA must close a path with an implicit closepath command (\"z\" or \"Z\") if it is not present in the string for properties that require a closed loop (such as shape-outside and clip-path).",
|
|
130
136
|
"type": "function",
|
|
131
|
-
"
|
|
132
|
-
{
|
|
133
|
-
"name": "<string>",
|
|
134
|
-
"type": "value",
|
|
135
|
-
"value": "<string>"
|
|
136
|
-
}
|
|
137
|
-
]
|
|
137
|
+
"value": "path( <'fill-rule'>? , <string> )"
|
|
138
138
|
}
|
|
139
139
|
]
|
|
140
140
|
},
|
|
141
|
-
{
|
|
142
|
-
"name": "<shape-radius>",
|
|
143
|
-
"value": "<length-percentage [0,∞]> | closest-side | farthest-side",
|
|
144
|
-
"type": "type"
|
|
145
|
-
},
|
|
146
141
|
{
|
|
147
142
|
"name": "<basic-shape-rect>",
|
|
148
143
|
"type": "type",
|
package/css-speech.json
CHANGED
|
@@ -525,7 +525,7 @@
|
|
|
525
525
|
"values": [
|
|
526
526
|
{
|
|
527
527
|
"name": "<family-name>",
|
|
528
|
-
"prose": "Values are specific voice instances (e.g., Mike, comedian, mary, carlos2, \"valley girl\"). Like font-family names, voice names must either be given quoted as strings, or unquoted as a sequence of one or more CSS identifiers. If a sequence of identifiers is given as a voice name, the computed value is the name converted to a string by joining all the identifiers in the sequence by single spaces. Voice names that happen to be the same as the gender keywords (male, female and neutral) or that happen to match the CSS-wide keywords or preserve must be quoted to disambiguate with these keywords. The keyword default is reserved for future use and must also be quoted when used as voice names. It is recommended to quote voice names that contain white space, digits, or punctuation characters other than hyphens
|
|
528
|
+
"prose": "Values are specific voice instances (e.g., Mike, comedian, mary, carlos2, \"valley girl\"). Like font-family names, voice names must either be given quoted as strings, or unquoted as a sequence of one or more CSS identifiers. If a sequence of identifiers is given as a voice name, the computed value is the name converted to a string by joining all the identifiers in the sequence by single spaces. Voice names that happen to be the same as the gender keywords (male, female and neutral) or that happen to match the CSS-wide keywords or preserve must be quoted to disambiguate with these keywords. The keyword default is reserved for future use and must also be quoted when used as voice names. It is recommended to quote voice names that contain white space, digits, or punctuation characters other than hyphens—even if these voice names are valid in unquoted form—in order to improve code clarity. For example: voice-family: \"john doe\", \"Henry the-8th\";",
|
|
529
529
|
"type": "value",
|
|
530
530
|
"value": "<family-name>"
|
|
531
531
|
},
|
package/css-text-4.json
CHANGED
|
@@ -898,7 +898,7 @@
|
|
|
898
898
|
"values": [
|
|
899
899
|
{
|
|
900
900
|
"name": "auto",
|
|
901
|
-
"prose": "The UA determines the justification algorithm to follow, based on a balance between performance and adequate presentation quality. Since justification rules vary by writing system and language, UAs should, where possible, use a justification algorithm appropriate to the text. For example, the UA could use by default a justification method that is a simple universal compromise for all writing systems
|
|
901
|
+
"prose": "The UA determines the justification algorithm to follow, based on a balance between performance and adequate presentation quality. Since justification rules vary by writing system and language, UAs should, where possible, use a justification algorithm appropriate to the text. For example, the UA could use by default a justification method that is a simple universal compromise for all writing systems—such as primarily expanding word separators and between CJK typographic letter units along with secondarily expanding between Southeast Asian typographic letter units. Then, in cases where the content language of the paragraph is known, it could choose a more language-tailored justification behavior e.g. following the Requirements for Japanese Text Layout for Japanese [JLREQ], using cursive elongation for Arabic, using inter-word for German, etc. An example of cursively-justified Arabic text, rendered by Tasmeem. Like English, Arabic can be justified by adjusting the spacing between words, but in most styles it can also be justified by calligraphically elongating or compressing the letterforms themselves. In this example, the upper text is extended to fill the line by the use of elongated (kashida) forms and swash forms, while the bottom line is compressed slightly by using a stacked combination for the characters between ت and م. By employing traditional calligraphic techniques, a typesetter can justify the line while preserving flow and color, providing a very high quality justification effect. However, this is by its nature a very script-specific effect. Mixed-script text with text-justify: auto: this interpretation uses a universal-compromise justification method, expanding at spaces as well as between CJK and Southeast Asian letters. This effectively uses inter-word + inter-ideograph spacing for lines that have word-separators and/or CJK characters and falls back to inter-cluster behavior for lines that don’t or for which the space stretches too far.",
|
|
902
902
|
"type": "value",
|
|
903
903
|
"value": "auto"
|
|
904
904
|
},
|
|
@@ -1138,7 +1138,7 @@
|
|
|
1138
1138
|
{
|
|
1139
1139
|
"name": "text-spacing-trim",
|
|
1140
1140
|
"value": "<spacing-trim> | auto",
|
|
1141
|
-
"initial": "
|
|
1141
|
+
"initial": "normal",
|
|
1142
1142
|
"appliesTo": "text",
|
|
1143
1143
|
"inherited": "yes",
|
|
1144
1144
|
"percentages": "N/A",
|
|
@@ -1152,6 +1152,12 @@
|
|
|
1152
1152
|
"type": "value",
|
|
1153
1153
|
"value": "space-all"
|
|
1154
1154
|
},
|
|
1155
|
+
{
|
|
1156
|
+
"name": "normal",
|
|
1157
|
+
"prose": "Set fullwidth opening punctuation with full-width glyphs (spaced) at the start of each line; set fullwidth closing punctuation with half-width glyphs (flush) at the end of each line if it does not otherwise fit prior to justification, else set the punctuation with full-width glyphs; and collapse spacing between punctuation glyphs as described below.",
|
|
1158
|
+
"type": "value",
|
|
1159
|
+
"value": "normal"
|
|
1160
|
+
},
|
|
1155
1161
|
{
|
|
1156
1162
|
"name": "trim-auto",
|
|
1157
1163
|
"prose": "Set fullwidth opening punctuation with half-width glyphs (flush) at the start of each line; set fullwidth closing punctuation with half-width glyphs (flush) at the end of each line; and collapse spacing between punctuation glyphs as described below.",
|
|
@@ -1160,15 +1166,15 @@
|
|
|
1160
1166
|
},
|
|
1161
1167
|
{
|
|
1162
1168
|
"name": "space-first",
|
|
1163
|
-
"prose": "Set fullwidth opening punctuation with full-width glyphs (spaced) on the first line the block container and each line after a forced line break. Otherwise as trim-auto
|
|
1169
|
+
"prose": "Set fullwidth opening punctuation with full-width glyphs (spaced) on the first line the block container and each line after a forced line break. Otherwise as trim-auto.",
|
|
1164
1170
|
"type": "value",
|
|
1165
1171
|
"value": "space-first"
|
|
1166
1172
|
},
|
|
1167
1173
|
{
|
|
1168
|
-
"name": "
|
|
1169
|
-
"prose": "Set fullwidth
|
|
1174
|
+
"name": "trim-start",
|
|
1175
|
+
"prose": "Set fullwidth opening punctuation with half-width glyphs (flush) at the start of each line. Otherwise as normal.",
|
|
1170
1176
|
"type": "value",
|
|
1171
|
-
"value": "
|
|
1177
|
+
"value": "trim-start"
|
|
1172
1178
|
},
|
|
1173
1179
|
{
|
|
1174
1180
|
"name": "trim-all",
|
|
@@ -1190,7 +1196,7 @@
|
|
|
1190
1196
|
},
|
|
1191
1197
|
{
|
|
1192
1198
|
"name": "text-spacing",
|
|
1193
|
-
"value": "
|
|
1199
|
+
"value": "none | auto | <spacing-trim> || <autospace>",
|
|
1194
1200
|
"initial": "see individual properties",
|
|
1195
1201
|
"appliesTo": "text",
|
|
1196
1202
|
"inherited": "yes",
|
|
@@ -1199,12 +1205,6 @@
|
|
|
1199
1205
|
"animationType": "discrete",
|
|
1200
1206
|
"canonicalOrder": "per grammar",
|
|
1201
1207
|
"values": [
|
|
1202
|
-
{
|
|
1203
|
-
"name": "normal",
|
|
1204
|
-
"prose": "Specifies the baseline behavior, setting each sub-property to its initial value. Equivalent to space-first ideograph-alpha ideograph-numeric.",
|
|
1205
|
-
"type": "value",
|
|
1206
|
-
"value": "normal"
|
|
1207
|
-
},
|
|
1208
1208
|
{
|
|
1209
1209
|
"name": "none",
|
|
1210
1210
|
"prose": "Turns off all text-spacing features: sets text-spacing-trim to space-all and text-autospace to no-autospace.",
|
|
@@ -1335,7 +1335,7 @@
|
|
|
1335
1335
|
{
|
|
1336
1336
|
"name": "<spacing-trim>",
|
|
1337
1337
|
"type": "type",
|
|
1338
|
-
"value": "space-all | trim-auto |
|
|
1338
|
+
"value": "space-all | normal | trim-auto | trim-start | space-first | trim-all"
|
|
1339
1339
|
}
|
|
1340
1340
|
]
|
|
1341
1341
|
}
|
package/css-text.json
CHANGED
|
@@ -413,7 +413,7 @@
|
|
|
413
413
|
"values": [
|
|
414
414
|
{
|
|
415
415
|
"name": "auto",
|
|
416
|
-
"prose": "The UA determines the justification algorithm to follow, based on a balance between performance and adequate presentation quality. Since justification rules vary by writing system and language, UAs should, where possible, use a justification algorithm appropriate to the text. For example, the UA could use by default a justification method that is a simple universal compromise for all writing systems
|
|
416
|
+
"prose": "The UA determines the justification algorithm to follow, based on a balance between performance and adequate presentation quality. Since justification rules vary by writing system and language, UAs should, where possible, use a justification algorithm appropriate to the text. For example, the UA could use by default a justification method that is a simple universal compromise for all writing systems—such as primarily expanding word separators and between CJK typographic letter units along with secondarily expanding between Southeast Asian typographic letter units. Then, in cases where the content language of the paragraph is known, it could choose a more language-tailored justification behavior e.g. following the Requirements for Japanese Text Layout for Japanese [JLREQ], using cursive elongation for Arabic, using inter-word for German, etc. An example of cursively-justified Arabic text, rendered by Tasmeem. Like English, Arabic can be justified by adjusting the spacing between words, but in most styles it can also be justified by calligraphically elongating or compressing the letterforms themselves. In this example, the upper text is extended to fill the line by the use of elongated (kashida) forms and swash forms, while the bottom line is compressed slightly by using a stacked combination for the characters between ت and م. By employing traditional calligraphic techniques, a typesetter can justify the line while preserving flow and color, providing a very high quality justification effect. However, this is by its nature a very script-specific effect. Mixed-script text with text-justify: auto: this interpretation uses a universal-compromise justification method, expanding at spaces as well as between CJK and Southeast Asian letters. This effectively uses inter-word + inter-ideograph spacing for lines that have word-separators and/or CJK characters and falls back to inter-cluster behavior for lines that don’t or for which the space stretches too far.",
|
|
417
417
|
"type": "value",
|
|
418
418
|
"value": "auto"
|
|
419
419
|
},
|
package/css-transitions.json
CHANGED
package/css-values.json
CHANGED
|
@@ -516,7 +516,7 @@
|
|
|
516
516
|
},
|
|
517
517
|
{
|
|
518
518
|
"name": "clamp()",
|
|
519
|
-
"prose": "The clamp() function takes three calculations
|
|
519
|
+
"prose": "The clamp() function takes three calculations—a minimum value, a central value, and a maximum value—and represents its central calculation, clamped according to its min and max calculations, favoring the min calculation if it conflicts with the max. (That is, given clamp(MIN, VAL, MAX), it represents exactly the same value as max(MIN, min(VAL, MAX))).",
|
|
520
520
|
"type": "function",
|
|
521
521
|
"value": "clamp( <calc-sum>#{3} )"
|
|
522
522
|
},
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
"properties": [
|
|
7
7
|
{
|
|
8
8
|
"name": "view-transition-name",
|
|
9
|
-
"value": "none | <custom-ident>",
|
|
9
|
+
"value": "none | auto | <custom-ident>",
|
|
10
10
|
"initial": "none",
|
|
11
11
|
"appliesTo": "all elements",
|
|
12
12
|
"inherited": "no",
|
|
@@ -21,9 +21,15 @@
|
|
|
21
21
|
"type": "value",
|
|
22
22
|
"value": "none"
|
|
23
23
|
},
|
|
24
|
+
{
|
|
25
|
+
"name": "auto",
|
|
26
|
+
"prose": "This should be treated as an invalid value, despite being a valid <custom-ident>. The property value remains unchanged.",
|
|
27
|
+
"type": "value",
|
|
28
|
+
"value": "auto"
|
|
29
|
+
},
|
|
24
30
|
{
|
|
25
31
|
"name": "<custom-ident>",
|
|
26
|
-
"prose": "The element participates independently in a view transition
|
|
32
|
+
"prose": "The element participates independently in a view transition—as either an old or new element—with the specified view transition name. The value none is excluded from <custom-ident> here.",
|
|
27
33
|
"type": "value",
|
|
28
34
|
"value": "<custom-ident>"
|
|
29
35
|
}
|
package/mediaqueries-5.json
CHANGED
|
@@ -487,7 +487,7 @@
|
|
|
487
487
|
},
|
|
488
488
|
{
|
|
489
489
|
"name": "custom",
|
|
490
|
-
"prose": "Indicates that the user has indicated wanting a specific set of colors to be used, but the contrast implied by these particular colors is such that neither more nor less match. A user calling for cyan text over a rust background is not
|
|
490
|
+
"prose": "Indicates that the user has indicated wanting a specific set of colors to be used, but the contrast implied by these particular colors is such that neither more nor less match. A user calling for cyan text over a rust background is not—at least in terms of luminosity—expressing a need for particularly high or low contrast, but this is not a lack of a preference either.",
|
|
491
491
|
"type": "value",
|
|
492
492
|
"value": "custom"
|
|
493
493
|
}
|
package/package.json
CHANGED
package/scroll-animations.json
CHANGED
|
@@ -315,7 +315,7 @@
|
|
|
315
315
|
},
|
|
316
316
|
{
|
|
317
317
|
"name": "<dashed-ident>",
|
|
318
|
-
"prose": "Declares the name of a matching named timeline defined by a descendant
|
|
318
|
+
"prose": "Declares the name of a matching named timeline defined by a descendant—whose scope is not already explicitly declared by a descendant using timeline-scope—to be in scope for this element and its descendants. If no such timeline exists, or if more than one such timeline exists, instead declares an inactive timeline with the specified name.",
|
|
319
319
|
"type": "value",
|
|
320
320
|
"value": "<dashed-ident>"
|
|
321
321
|
}
|
package/selectors.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
},
|
|
21
21
|
{
|
|
22
22
|
"name": ":where()",
|
|
23
|
-
"prose": "The Specificity-adjustment pseudo-class, :where(), is a functional pseudo-class with the same syntax and functionality as :is(). Unlike :is(), neither the :where() pseudo-class, nor any of its arguments, contribute to the specificity of the selector
|
|
23
|
+
"prose": "The Specificity-adjustment pseudo-class, :where(), is a functional pseudo-class with the same syntax and functionality as :is(). Unlike :is(), neither the :where() pseudo-class, nor any of its arguments, contribute to the specificity of the selector—its specificity is always zero."
|
|
24
24
|
},
|
|
25
25
|
{
|
|
26
26
|
"name": ":has()",
|