@webref/css 6.21.2 → 6.23.0
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.json +16 -8
- package/README.md +1 -1
- package/css-borders.json +79 -73
- package/css-color-5.json +0 -12
- package/css-color-hdr.json +0 -6
- package/css-color.json +71 -0
- package/css-forms.json +36 -18
- package/css-gcpm-4.json +6 -3
- package/css-mixins.json +7 -1
- package/css-multicol.json +2 -1
- package/css-nesting.json +2 -1
- package/css-overflow-4.json +24 -10
- package/css-overflow-5.json +6 -3
- package/css-position-4.json +2 -1
- package/css-pseudo.json +26 -13
- package/css-scoping.json +4 -2
- package/css-scroll-snap-2.json +10 -5
- package/css-shapes-2.json +1 -185
- package/css-shapes.json +184 -0
- package/css-text-4.json +1 -1
- package/css-values-5.json +236 -33
- package/css-view-transitions-2.json +2 -1
- package/css-view-transitions.json +2 -1
- package/package.json +1 -1
- package/pointer-animations.json +282 -0
- package/selectors-5.json +2 -1
- package/selectors.json +116 -58
- package/webvtt.json +4 -2
- package/webxr-dom-overlays.json +2 -1
package/CSS.json
CHANGED
|
@@ -291,38 +291,46 @@
|
|
|
291
291
|
"selectors": [
|
|
292
292
|
{
|
|
293
293
|
"name": ":lang",
|
|
294
|
-
"href": "https://drafts.csswg.org/css2/#selectordef-lang"
|
|
294
|
+
"href": "https://drafts.csswg.org/css2/#selectordef-lang",
|
|
295
|
+
"value": ":lang"
|
|
295
296
|
},
|
|
296
297
|
{
|
|
297
298
|
"name": ":first-line",
|
|
298
|
-
"href": "https://drafts.csswg.org/css2/#selectordef-first-line"
|
|
299
|
+
"href": "https://drafts.csswg.org/css2/#selectordef-first-line",
|
|
300
|
+
"value": ":first-line"
|
|
299
301
|
},
|
|
300
302
|
{
|
|
301
303
|
"name": ":first-letter",
|
|
302
|
-
"href": "https://drafts.csswg.org/css2/#selectordef-first-letter"
|
|
304
|
+
"href": "https://drafts.csswg.org/css2/#selectordef-first-letter",
|
|
305
|
+
"value": ":first-letter"
|
|
303
306
|
},
|
|
304
307
|
{
|
|
305
308
|
"name": ":before",
|
|
306
|
-
"href": "https://drafts.csswg.org/css2/#selectordef-before"
|
|
309
|
+
"href": "https://drafts.csswg.org/css2/#selectordef-before",
|
|
310
|
+
"value": ":before"
|
|
307
311
|
},
|
|
308
312
|
{
|
|
309
313
|
"name": ":after",
|
|
310
|
-
"href": "https://drafts.csswg.org/css2/#selectordef-after"
|
|
314
|
+
"href": "https://drafts.csswg.org/css2/#selectordef-after",
|
|
315
|
+
"value": ":after"
|
|
311
316
|
},
|
|
312
317
|
{
|
|
313
318
|
"name": ":left",
|
|
314
319
|
"prose": "All pages are automatically classified by user agents into either the :left or :right pseudo-class. Whether the first page of a document is :left or :right depends on the major writing direction of the root element. For example, the first page of a document with a left-to-right major writing direction would be a :right page, and the first page of a document with a right-to-left major writing direction would be a :left page. To explicitly force a document to begin printing on a left or right page, authors can insert a page break before the first generated box.",
|
|
315
|
-
"href": "https://drafts.csswg.org/css2/#selectordef-left"
|
|
320
|
+
"href": "https://drafts.csswg.org/css2/#selectordef-left",
|
|
321
|
+
"value": ":left"
|
|
316
322
|
},
|
|
317
323
|
{
|
|
318
324
|
"name": ":right",
|
|
319
325
|
"prose": "All pages are automatically classified by user agents into either the :left or :right pseudo-class. Whether the first page of a document is :left or :right depends on the major writing direction of the root element. For example, the first page of a document with a left-to-right major writing direction would be a :right page, and the first page of a document with a right-to-left major writing direction would be a :left page. To explicitly force a document to begin printing on a left or right page, authors can insert a page break before the first generated box.",
|
|
320
|
-
"href": "https://drafts.csswg.org/css2/#selectordef-right"
|
|
326
|
+
"href": "https://drafts.csswg.org/css2/#selectordef-right",
|
|
327
|
+
"value": ":right"
|
|
321
328
|
},
|
|
322
329
|
{
|
|
323
330
|
"name": ":first",
|
|
324
331
|
"prose": "Authors may also specify style for the first page of a document with the :first pseudo-class:",
|
|
325
|
-
"href": "https://drafts.csswg.org/css2/#selectordef-first"
|
|
332
|
+
"href": "https://drafts.csswg.org/css2/#selectordef-first",
|
|
333
|
+
"value": ":first"
|
|
326
334
|
}
|
|
327
335
|
],
|
|
328
336
|
"values": [
|
package/README.md
CHANGED
|
@@ -41,6 +41,6 @@ for (const [shortname, data] of Object.entries(parsedFiles)) {
|
|
|
41
41
|
|
|
42
42
|
The following guarantees are provided by this package:
|
|
43
43
|
- All values in CSS files can be parsed by the version of [CSSTree](https://github.com/csstree/csstree) used in `peerDependencies` in `package.json`.
|
|
44
|
-
- No duplicate definitions of CSS
|
|
44
|
+
- No duplicate definitions of entries in CSS files provided that CSS extracts of [delta specs](https://github.com/w3c/browser-specs/#seriescomposition) are not taken into account (such extracts end with `-n.json`, where `n` is a level number). The term "entries" includes CSS properties, at-rules, selectors, types and functions. Please note that specs may still extend entries defined elsewhere (to define new values for CSS properties, or new selectors for at-rules).
|
|
45
45
|
- CSS extracts contain a base definition of all CSS properties that get extended by other CSS property definitions (those for which `newValues` is set).
|
|
46
46
|
- All entries in CSS files that do not extend a base definition link back to their actual definition in the spec. In other words, all entries under `properties[]`, `properties[].values[]`, `selectors[]`, `atrules[]` and `values[]` have an `href` key that contains an absolute URL with fragment, except properties that that have a `newValues` key, at-rules that neither have a `prose` nor a `value` key, and definitions of a [delta spec](https://github.com/w3c/browser-specs/#seriescomposition) that completely override a definition in a previous level.
|
package/css-borders.json
CHANGED
|
@@ -971,10 +971,10 @@
|
|
|
971
971
|
"initial": "round",
|
|
972
972
|
"appliesTo": "all elements where border-radius can apply",
|
|
973
973
|
"inherited": "no",
|
|
974
|
-
"percentages": "
|
|
975
|
-
"computedValue": "
|
|
976
|
-
"canonicalOrder": "per grammar",
|
|
974
|
+
"percentages": "see individual properties",
|
|
975
|
+
"computedValue": "see individual properties",
|
|
977
976
|
"animationType": "see individual properties",
|
|
977
|
+
"canonicalOrder": "per grammar",
|
|
978
978
|
"styleDeclaration": [
|
|
979
979
|
"corner-shape",
|
|
980
980
|
"cornerShape"
|
|
@@ -1119,14 +1119,14 @@
|
|
|
1119
1119
|
{
|
|
1120
1120
|
"name": "corner-top-shape",
|
|
1121
1121
|
"href": "https://drafts.csswg.org/css-borders-4/#propdef-corner-top-shape",
|
|
1122
|
-
"value": "<corner-shape-value>",
|
|
1123
|
-
"initial": "
|
|
1124
|
-
"appliesTo": "
|
|
1125
|
-
"inherited": "
|
|
1126
|
-
"percentages": "
|
|
1122
|
+
"value": "<corner-shape-value>{1,2}",
|
|
1123
|
+
"initial": "see individual properties",
|
|
1124
|
+
"appliesTo": "see individual properties",
|
|
1125
|
+
"inherited": "see individual properties",
|
|
1126
|
+
"percentages": "see individual properties",
|
|
1127
1127
|
"computedValue": "see individual properties",
|
|
1128
|
-
"canonicalOrder": "per grammar",
|
|
1129
1128
|
"animationType": "see individual properties",
|
|
1129
|
+
"canonicalOrder": "per grammar",
|
|
1130
1130
|
"styleDeclaration": [
|
|
1131
1131
|
"corner-top-shape",
|
|
1132
1132
|
"cornerTopShape"
|
|
@@ -1135,14 +1135,14 @@
|
|
|
1135
1135
|
{
|
|
1136
1136
|
"name": "corner-right-shape",
|
|
1137
1137
|
"href": "https://drafts.csswg.org/css-borders-4/#propdef-corner-right-shape",
|
|
1138
|
-
"value": "<corner-shape-value>",
|
|
1139
|
-
"initial": "
|
|
1140
|
-
"appliesTo": "
|
|
1141
|
-
"inherited": "
|
|
1142
|
-
"percentages": "
|
|
1138
|
+
"value": "<corner-shape-value>{1,2}",
|
|
1139
|
+
"initial": "see individual properties",
|
|
1140
|
+
"appliesTo": "see individual properties",
|
|
1141
|
+
"inherited": "see individual properties",
|
|
1142
|
+
"percentages": "see individual properties",
|
|
1143
1143
|
"computedValue": "see individual properties",
|
|
1144
|
-
"canonicalOrder": "per grammar",
|
|
1145
1144
|
"animationType": "see individual properties",
|
|
1145
|
+
"canonicalOrder": "per grammar",
|
|
1146
1146
|
"styleDeclaration": [
|
|
1147
1147
|
"corner-right-shape",
|
|
1148
1148
|
"cornerRightShape"
|
|
@@ -1151,14 +1151,14 @@
|
|
|
1151
1151
|
{
|
|
1152
1152
|
"name": "corner-bottom-shape",
|
|
1153
1153
|
"href": "https://drafts.csswg.org/css-borders-4/#propdef-corner-bottom-shape",
|
|
1154
|
-
"value": "<corner-shape-value>",
|
|
1155
|
-
"initial": "
|
|
1156
|
-
"appliesTo": "
|
|
1157
|
-
"inherited": "
|
|
1158
|
-
"percentages": "
|
|
1154
|
+
"value": "<corner-shape-value>{1,2}",
|
|
1155
|
+
"initial": "see individual properties",
|
|
1156
|
+
"appliesTo": "see individual properties",
|
|
1157
|
+
"inherited": "see individual properties",
|
|
1158
|
+
"percentages": "see individual properties",
|
|
1159
1159
|
"computedValue": "see individual properties",
|
|
1160
|
-
"canonicalOrder": "per grammar",
|
|
1161
1160
|
"animationType": "see individual properties",
|
|
1161
|
+
"canonicalOrder": "per grammar",
|
|
1162
1162
|
"styleDeclaration": [
|
|
1163
1163
|
"corner-bottom-shape",
|
|
1164
1164
|
"cornerBottomShape"
|
|
@@ -1167,14 +1167,14 @@
|
|
|
1167
1167
|
{
|
|
1168
1168
|
"name": "corner-left-shape",
|
|
1169
1169
|
"href": "https://drafts.csswg.org/css-borders-4/#propdef-corner-left-shape",
|
|
1170
|
-
"value": "<corner-shape-value>",
|
|
1171
|
-
"initial": "
|
|
1172
|
-
"appliesTo": "
|
|
1173
|
-
"inherited": "
|
|
1174
|
-
"percentages": "
|
|
1170
|
+
"value": "<corner-shape-value>{1,2}",
|
|
1171
|
+
"initial": "see individual properties",
|
|
1172
|
+
"appliesTo": "see individual properties",
|
|
1173
|
+
"inherited": "see individual properties",
|
|
1174
|
+
"percentages": "see individual properties",
|
|
1175
1175
|
"computedValue": "see individual properties",
|
|
1176
|
-
"canonicalOrder": "per grammar",
|
|
1177
1176
|
"animationType": "see individual properties",
|
|
1177
|
+
"canonicalOrder": "per grammar",
|
|
1178
1178
|
"styleDeclaration": [
|
|
1179
1179
|
"corner-left-shape",
|
|
1180
1180
|
"cornerLeftShape"
|
|
@@ -1183,14 +1183,14 @@
|
|
|
1183
1183
|
{
|
|
1184
1184
|
"name": "corner-block-start-shape",
|
|
1185
1185
|
"href": "https://drafts.csswg.org/css-borders-4/#propdef-corner-block-start-shape",
|
|
1186
|
-
"value": "<corner-shape-value>",
|
|
1187
|
-
"initial": "
|
|
1188
|
-
"appliesTo": "
|
|
1189
|
-
"inherited": "
|
|
1190
|
-
"percentages": "
|
|
1186
|
+
"value": "<corner-shape-value>{1,2}",
|
|
1187
|
+
"initial": "see individual properties",
|
|
1188
|
+
"appliesTo": "see individual properties",
|
|
1189
|
+
"inherited": "see individual properties",
|
|
1190
|
+
"percentages": "see individual properties",
|
|
1191
1191
|
"computedValue": "see individual properties",
|
|
1192
|
-
"canonicalOrder": "per grammar",
|
|
1193
1192
|
"animationType": "see individual properties",
|
|
1193
|
+
"canonicalOrder": "per grammar",
|
|
1194
1194
|
"styleDeclaration": [
|
|
1195
1195
|
"corner-block-start-shape",
|
|
1196
1196
|
"cornerBlockStartShape"
|
|
@@ -1199,14 +1199,14 @@
|
|
|
1199
1199
|
{
|
|
1200
1200
|
"name": "corner-block-end-shape",
|
|
1201
1201
|
"href": "https://drafts.csswg.org/css-borders-4/#propdef-corner-block-end-shape",
|
|
1202
|
-
"value": "<corner-shape-value>",
|
|
1203
|
-
"initial": "
|
|
1204
|
-
"appliesTo": "
|
|
1205
|
-
"inherited": "
|
|
1206
|
-
"percentages": "
|
|
1202
|
+
"value": "<corner-shape-value>{1,2}",
|
|
1203
|
+
"initial": "see individual properties",
|
|
1204
|
+
"appliesTo": "see individual properties",
|
|
1205
|
+
"inherited": "see individual properties",
|
|
1206
|
+
"percentages": "see individual properties",
|
|
1207
1207
|
"computedValue": "see individual properties",
|
|
1208
|
-
"canonicalOrder": "per grammar",
|
|
1209
1208
|
"animationType": "see individual properties",
|
|
1209
|
+
"canonicalOrder": "per grammar",
|
|
1210
1210
|
"styleDeclaration": [
|
|
1211
1211
|
"corner-block-end-shape",
|
|
1212
1212
|
"cornerBlockEndShape"
|
|
@@ -1215,14 +1215,14 @@
|
|
|
1215
1215
|
{
|
|
1216
1216
|
"name": "corner-inline-start-shape",
|
|
1217
1217
|
"href": "https://drafts.csswg.org/css-borders-4/#propdef-corner-inline-start-shape",
|
|
1218
|
-
"value": "<corner-shape-value>",
|
|
1219
|
-
"initial": "
|
|
1220
|
-
"appliesTo": "
|
|
1221
|
-
"inherited": "
|
|
1222
|
-
"percentages": "
|
|
1218
|
+
"value": "<corner-shape-value>{1,2}",
|
|
1219
|
+
"initial": "see individual properties",
|
|
1220
|
+
"appliesTo": "see individual properties",
|
|
1221
|
+
"inherited": "see individual properties",
|
|
1222
|
+
"percentages": "see individual properties",
|
|
1223
1223
|
"computedValue": "see individual properties",
|
|
1224
|
-
"canonicalOrder": "per grammar",
|
|
1225
1224
|
"animationType": "see individual properties",
|
|
1225
|
+
"canonicalOrder": "per grammar",
|
|
1226
1226
|
"styleDeclaration": [
|
|
1227
1227
|
"corner-inline-start-shape",
|
|
1228
1228
|
"cornerInlineStartShape"
|
|
@@ -1231,14 +1231,14 @@
|
|
|
1231
1231
|
{
|
|
1232
1232
|
"name": "corner-inline-end-shape",
|
|
1233
1233
|
"href": "https://drafts.csswg.org/css-borders-4/#propdef-corner-inline-end-shape",
|
|
1234
|
-
"value": "<corner-shape-value>",
|
|
1235
|
-
"initial": "
|
|
1236
|
-
"appliesTo": "
|
|
1237
|
-
"inherited": "
|
|
1238
|
-
"percentages": "
|
|
1234
|
+
"value": "<corner-shape-value>{1,2}",
|
|
1235
|
+
"initial": "see individual properties",
|
|
1236
|
+
"appliesTo": "see individual properties",
|
|
1237
|
+
"inherited": "see individual properties",
|
|
1238
|
+
"percentages": "see individual properties",
|
|
1239
1239
|
"computedValue": "see individual properties",
|
|
1240
|
-
"canonicalOrder": "per grammar",
|
|
1241
1240
|
"animationType": "see individual properties",
|
|
1241
|
+
"canonicalOrder": "per grammar",
|
|
1242
1242
|
"styleDeclaration": [
|
|
1243
1243
|
"corner-inline-end-shape",
|
|
1244
1244
|
"cornerInlineEndShape"
|
|
@@ -1574,57 +1574,63 @@
|
|
|
1574
1574
|
"name": "<corner-shape-value>",
|
|
1575
1575
|
"href": "https://drafts.csswg.org/css-borders-4/#typedef-corner-shape-value",
|
|
1576
1576
|
"type": "type",
|
|
1577
|
-
"value": "round | scoop | bevel | notch | square | squircle | superellipse(
|
|
1577
|
+
"value": "round | scoop | bevel | notch | square | squircle | <superellipse()>",
|
|
1578
1578
|
"values": [
|
|
1579
1579
|
{
|
|
1580
1580
|
"name": "round",
|
|
1581
|
-
"prose": "
|
|
1581
|
+
"prose": "The corner shape is a quarter of a convex ellipse. Equivalent to superellipse(1).",
|
|
1582
1582
|
"href": "https://drafts.csswg.org/css-borders-4/#valdef-corner-shape-value-round",
|
|
1583
1583
|
"type": "value",
|
|
1584
1584
|
"value": "round"
|
|
1585
1585
|
},
|
|
1586
1586
|
{
|
|
1587
|
-
"name": "
|
|
1588
|
-
"prose": "
|
|
1589
|
-
"href": "https://drafts.csswg.org/css-borders-4/#valdef-corner-shape-value-
|
|
1587
|
+
"name": "squircle",
|
|
1588
|
+
"prose": "The corner shape is a quarter of a \"squircle\", a convex curve between round and square. Equivalent to superellipse(2).",
|
|
1589
|
+
"href": "https://drafts.csswg.org/css-borders-4/#valdef-corner-shape-value-squircle",
|
|
1590
1590
|
"type": "value",
|
|
1591
|
-
"value": "
|
|
1591
|
+
"value": "squircle"
|
|
1592
|
+
},
|
|
1593
|
+
{
|
|
1594
|
+
"name": "square",
|
|
1595
|
+
"prose": "The corner shape is a convex 90deg angle. Equivalent to superellipse(infinity).",
|
|
1596
|
+
"href": "https://drafts.csswg.org/css-borders-4/#valdef-corner-shape-value-square",
|
|
1597
|
+
"type": "value",
|
|
1598
|
+
"value": "square"
|
|
1592
1599
|
},
|
|
1593
1600
|
{
|
|
1594
1601
|
"name": "bevel",
|
|
1595
|
-
"prose": "
|
|
1602
|
+
"prose": "The corner shape is a straight diagonal line, neither convex nor concave. Equivalent to superellipse(0).",
|
|
1596
1603
|
"href": "https://drafts.csswg.org/css-borders-4/#valdef-corner-shape-value-bevel",
|
|
1597
1604
|
"type": "value",
|
|
1598
1605
|
"value": "bevel"
|
|
1599
1606
|
},
|
|
1600
1607
|
{
|
|
1601
|
-
"name": "
|
|
1602
|
-
"prose": "
|
|
1603
|
-
"href": "https://drafts.csswg.org/css-borders-4/#valdef-corner-shape-value-
|
|
1608
|
+
"name": "scoop",
|
|
1609
|
+
"prose": "The corner shape is a concave quarter-ellipse. Equivalent to superellipse(-1).",
|
|
1610
|
+
"href": "https://drafts.csswg.org/css-borders-4/#valdef-corner-shape-value-scoop",
|
|
1604
1611
|
"type": "value",
|
|
1605
|
-
"value": "
|
|
1612
|
+
"value": "scoop"
|
|
1606
1613
|
},
|
|
1607
1614
|
{
|
|
1608
|
-
"name": "
|
|
1609
|
-
"prose": "
|
|
1610
|
-
"href": "https://drafts.csswg.org/css-borders-4/#valdef-corner-shape-value-
|
|
1615
|
+
"name": "notch",
|
|
1616
|
+
"prose": "The corner shape is a concave 90deg angle. Equivalent to superellipse(-infinity).",
|
|
1617
|
+
"href": "https://drafts.csswg.org/css-borders-4/#valdef-corner-shape-value-notch",
|
|
1611
1618
|
"type": "value",
|
|
1612
|
-
"value": "
|
|
1619
|
+
"value": "notch"
|
|
1613
1620
|
},
|
|
1614
1621
|
{
|
|
1615
|
-
"name": "
|
|
1616
|
-
"
|
|
1617
|
-
"href": "https://drafts.csswg.org/css-borders-4/#valdef-corner-shape-value-
|
|
1618
|
-
"type": "value"
|
|
1619
|
-
"value": "squircle"
|
|
1622
|
+
"name": "superellipse()",
|
|
1623
|
+
"value": "superellipse()",
|
|
1624
|
+
"href": "https://drafts.csswg.org/css-borders-4/#valdef-corner-shape-value-superellipse-k",
|
|
1625
|
+
"type": "value"
|
|
1620
1626
|
}
|
|
1621
1627
|
]
|
|
1622
1628
|
},
|
|
1623
1629
|
{
|
|
1624
1630
|
"name": "superellipse()",
|
|
1625
|
-
"value": "superellipse( <number> | infinity | -infinity )",
|
|
1626
1631
|
"href": "https://drafts.csswg.org/css-borders-4/#funcdef-superellipse",
|
|
1627
|
-
"type": "function"
|
|
1632
|
+
"type": "function",
|
|
1633
|
+
"value": "superellipse(<number [-∞,∞]> | infinity | -infinity)"
|
|
1628
1634
|
},
|
|
1629
1635
|
{
|
|
1630
1636
|
"name": "<spread-shadow>",
|
package/css-color-5.json
CHANGED
|
@@ -80,12 +80,6 @@
|
|
|
80
80
|
"type": "type",
|
|
81
81
|
"value": "<hex-color> | <color-function> | <named-color> | <color-mix()> | transparent"
|
|
82
82
|
},
|
|
83
|
-
{
|
|
84
|
-
"name": "<color-function>",
|
|
85
|
-
"href": "https://drafts.csswg.org/css-color-5/#typedef-color-function",
|
|
86
|
-
"type": "type",
|
|
87
|
-
"value": "<rgb()> | <rgba()> | <hsl()> | <hsla()> | <hwb()> | <lab()> | <lch()> | <oklab()> | <oklch()> | <color()>"
|
|
88
|
-
},
|
|
89
83
|
{
|
|
90
84
|
"name": "color-mix()",
|
|
91
85
|
"href": "https://drafts.csswg.org/css-color-5/#funcdef-color-mix",
|
|
@@ -371,12 +365,6 @@
|
|
|
371
365
|
"type": "type",
|
|
372
366
|
"value": "<predefined-rgb> [ <number> | <percentage> | none ]{3}"
|
|
373
367
|
},
|
|
374
|
-
{
|
|
375
|
-
"name": "<predefined-rgb>",
|
|
376
|
-
"href": "https://drafts.csswg.org/css-color-5/#typedef-predefined-rgb",
|
|
377
|
-
"type": "type",
|
|
378
|
-
"value": "srgb | srgb-linear | display-p3 | a98-rgb | prophoto-rgb | rec2020"
|
|
379
|
-
},
|
|
380
368
|
{
|
|
381
369
|
"name": "<xyz-params>",
|
|
382
370
|
"href": "https://drafts.csswg.org/css-color-5/#typedef-xyz-params",
|
package/css-color-hdr.json
CHANGED
|
@@ -173,12 +173,6 @@
|
|
|
173
173
|
"type": "function",
|
|
174
174
|
"value": "color-hdr([ <color> && <number [0,∞]>? ]#{2})"
|
|
175
175
|
},
|
|
176
|
-
{
|
|
177
|
-
"name": "color()",
|
|
178
|
-
"prose": "The color() function allows a color to be specified in a particular, given color space (rather than the implicit sRGB color space that most of the other color functions operate in).",
|
|
179
|
-
"href": "https://drafts.csswg.org/css-color-hdr-1/#funcdef-color",
|
|
180
|
-
"type": "function"
|
|
181
|
-
},
|
|
182
176
|
{
|
|
183
177
|
"name": "<predefined-rgb>",
|
|
184
178
|
"href": "https://drafts.csswg.org/css-color-hdr-1/#typedef-predefined-rgb",
|
package/css-color.json
CHANGED
|
@@ -1455,6 +1455,77 @@
|
|
|
1455
1455
|
}
|
|
1456
1456
|
]
|
|
1457
1457
|
},
|
|
1458
|
+
{
|
|
1459
|
+
"name": "color()",
|
|
1460
|
+
"href": "https://drafts.csswg.org/css-color-4/#funcdef-color",
|
|
1461
|
+
"type": "function",
|
|
1462
|
+
"value": "color( <colorspace-params> [ / [ <alpha-value> | none ] ]? )",
|
|
1463
|
+
"values": [
|
|
1464
|
+
{
|
|
1465
|
+
"name": "srgb",
|
|
1466
|
+
"prose": "The srgb [SRGB] color space accepts three numeric parameters, representing the red, green, and blue components of the color. In-gamut colors have all three components in the range [0, 1]. The whitepoint is D65. [SRGB] specifies two viewing conditions, encoding and typical. The [ICC] recommends using the encoding conditions for color conversion and for optimal viewing, which are the values in the table below. sRGB is the default color space for CSS, used for all the legacy color functions. It has the following characteristics: x y Red chromaticity 0.640 0.330 Green chromaticity 0.300 0.600 Blue chromaticity 0.150 0.060 White chromaticity D65 Transfer function see below White luminance 80.0 cd/m Black luminance 0.20 cd/m Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 let sign = c < 0? -1 : 1; let abs = Math.abs(c); if (abs <= 0.04045) { cl = c / 12.92; } else { cl = sign * (Math.pow((abs + 0.055) / 1.055, 2.4)); } c is the gamma-encoded red, green or blue component. cl is the corresponding linear-light component. Visualization of the sRGB color space in LCH. The primaries and secondaries are shown.",
|
|
1467
|
+
"href": "https://drafts.csswg.org/css-color-4/#valdef-color-srgb",
|
|
1468
|
+
"type": "value",
|
|
1469
|
+
"value": "srgb"
|
|
1470
|
+
},
|
|
1471
|
+
{
|
|
1472
|
+
"name": "srgb-linear",
|
|
1473
|
+
"prose": "The srgb-linear [SRGB] color space accepts three numeric parameters, representing the red, green, and blue components of the color. In-gamut colors have all three components in the range [0, 1]. The whitepoint is D65. It has the following characteristics: x y Red chromaticity 0.640 0.330 Green chromaticity 0.300 0.600 Blue chromaticity 0.150 0.060 White chromaticity D65 Transfer function unity, see below White luminance 80.0 cd/m Black luminance 0.20 cd/m Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 cl = c; c is the red, green or blue component. cl is the corresponding linear-light component, which is identical. To avoid banding artifacts, a higher precision is required for srgb-linear than for srgb. For example, these are the same color color(srgb 0.691 0.139 0.259) color(srgb-linear 0.435 0.017 0.055)",
|
|
1474
|
+
"href": "https://drafts.csswg.org/css-color-4/#valdef-color-srgb-linear",
|
|
1475
|
+
"type": "value",
|
|
1476
|
+
"value": "srgb-linear"
|
|
1477
|
+
},
|
|
1478
|
+
{
|
|
1479
|
+
"name": "display-p3",
|
|
1480
|
+
"prose": "The display-p3 [Display-P3] color space accepts three numeric parameters, representing the red, green, and blue components of the color. In-gamut colors have all three components in the range [0, 1]. It uses the same primary chromaticities as [DCI-P3], but with a D65 whitepoint, and the same transfer curve as sRGB. Modern displays, TVs, laptop screens and phone screens are able to display all, or nearly all, of the display-p3 gamut. It has the following characteristics: x y Red chromaticity 0.680 0.320 Green chromaticity 0.265 0.690 Blue chromaticity 0.150 0.060 White chromaticity D65 Transfer function same as srgb White luminance 80.0 cd/m Black luminance 0.80 cd/m Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 Visualization of the P3 color space in LCH. The primaries and secondaries are shown (but in sRGB, not in the correct colors). For comparison, the sRGB primaries and secondaries are also shown, as dashed circles. P3 primaries have higher Chroma.",
|
|
1481
|
+
"href": "https://drafts.csswg.org/css-color-4/#valdef-color-display-p3",
|
|
1482
|
+
"type": "value",
|
|
1483
|
+
"value": "display-p3"
|
|
1484
|
+
},
|
|
1485
|
+
{
|
|
1486
|
+
"name": "a98-rgb",
|
|
1487
|
+
"prose": "The a98-rgb color space accepts three numeric parameters, representing the red, green, and blue components of the color. In-gamut colors have all three components in the range [0, 1]. The transfer curve is a gamma function, close to but not exactly 1/2.2. It has the following characteristics: x y Red chromaticity 0.6400 0.3300 Green chromaticity 0.2100 0.7100 Blue chromaticity 0.1500 0.0600 White chromaticity D65 Transfer function 256/563 White luminance 160.0 cd/m Black luminance 0.5557 cd/m Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 Visualization of the A98 color space in LCH. The primaries and secondaries are shown (but in sRGB, not in the correct colors). For comparison, the sRGB primaries and secondaries are also shown, as dashed circles. a98 primaries have higher Chroma, especially the yellow, green and cyan.",
|
|
1488
|
+
"href": "https://drafts.csswg.org/css-color-4/#valdef-color-a98-rgb",
|
|
1489
|
+
"type": "value",
|
|
1490
|
+
"value": "a98-rgb"
|
|
1491
|
+
},
|
|
1492
|
+
{
|
|
1493
|
+
"name": "prophoto-rgb",
|
|
1494
|
+
"prose": "The prophoto-rgb color space accepts three numeric parameters, representing the red, green, and blue components of the color. In-gamut colors have all three components in the range [0, 1]. The transfer curve is a gamma function with a value of 1/1.8, and a small linear portion near black. The white point is D50, the same as is used by CIE Lab. Thus, conversion to CIE Lab does not require the chromatic adaptation step. The ProPhoto RGB space uses hyper-saturated, non physically realizable primaries. These were chosen to allow a wide color gamut and in particular, to minimize hue shifts under tonal manipulation. It is often used in digital photography as a wide gamut color space for the archival version of photographic images. The prophoto-rgb color space allows CSS to specify colors that will match colors in such images having the same RGB values. The ProPhoto RGB space was originally developed by Kodak and is described in [Wolfe]. It was standardized by ISO as [ROMM],[ROMM-RGB]. The white luminance is given as a range, and the viewing flare (and thus, the black luminance) is 0.5% to 1.0% of this. It has the following characteristics: x y Red chromaticity 0.734699 0.265301 Green chromaticity 0.159597 0.840403 Blue chromaticity 0.036598 0.000105 White chromaticity D50 Transfer function see below White luminance 160.0 to 640.0 cd/m Black luminance See text Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 const E = 16/512; let sign = c < 0? -1 : 1; let abs = Math.abs(c); if (abs <= E) { cl = c / 16; } else { cl = sign * Math.pow(c, 1.8); } c is the gamma-encoded red, green or blue component. cl is the corresponding linear-light component. Visualization of the prophoto-rgb color space in LCH. The primaries and secondaries are shown (but in sRGB, not in the correct colors). For comparison, the sRGB primaries and secondaries are also shown, as dashed circles. prophoto-rgb primaries and secondaries have much higher Chroma, but much of this ultrawide gamut does not correspond to physically realizable colors.",
|
|
1495
|
+
"href": "https://drafts.csswg.org/css-color-4/#valdef-color-prophoto-rgb",
|
|
1496
|
+
"type": "value",
|
|
1497
|
+
"value": "prophoto-rgb"
|
|
1498
|
+
},
|
|
1499
|
+
{
|
|
1500
|
+
"name": "rec2020",
|
|
1501
|
+
"prose": "The rec2020 [Rec.2020] color space accepts three numeric parameters, representing the red, green, and blue components of the color. In-gamut colors have all three components in the range [0, 1], (\"full-range\", in video terminology). ITU Reference 2020 is used for Ultra High Definition, 4k and 8k television. The primaries are physically realizable, but with difficulty as they lie very close to the spectral locus. Current displays are unable to reproduce the full gamut of rec2020. Coverage is expected to increase over time as displays improve. It has the following characteristics: x y Red chromaticity 0.708 0.292 Green chromaticity 0.170 0.797 Blue chromaticity 0.131 0.046 White chromaticity D65 Transfer function see below, from [Rec.2020] table 4 Image state display-referred Percentages Allowed for R, G and B Percent reference range for R,G,B: 0% = 0.0, 100% = 1.0 const α = 1.09929682680944 ; const β = 0.018053968510807; let sign = c < 0? -1 : 1; let abs = Math.abs(c); if (abs < β * 4.5 ) { cl = c / 4.5; } else { cl = sign * (Math.pow((abs + α -1 ) / α, 1/0.45)); } c is the gamma-encoded red, green or blue component. cl is the corresponding linear-light component. Visualization of the rec2020 color space in LCH. The primaries and secondaries are shown (but in sRGB, not in the correct colors). For comparison, the sRGB primaries and secondaries are also shown, as dashed circles. rec2020 primaries have much higher Chroma.",
|
|
1502
|
+
"href": "https://drafts.csswg.org/css-color-4/#valdef-color-rec2020",
|
|
1503
|
+
"type": "value",
|
|
1504
|
+
"value": "rec2020"
|
|
1505
|
+
},
|
|
1506
|
+
{
|
|
1507
|
+
"name": "xyz-d50",
|
|
1508
|
+
"prose": "The xyz color space accepts three numeric parameters, representing the X,Y and Z values. It represents the CIE XYZ [COLORIMETRY] color space, scaled such that diffuse white has a luminance (Y) of 1.0. and, if necessary, chromatically adapted to the reference white. The reference white for xyz-d50 is D50, while the reference white for xyz-d65 and xyz is D65. Values greater than 1.0/100% are allowed and must not be clamped; colors where Y is greater than 1.0 represent colors brighter than diffuse white. Values less than 0/0% are uncommon, but can occur as a result of chromatic adaptation, and likewise must not be clamped. It has the following characteristics: Percentages Allowed for X,Y,Z Percent reference range for X,Y,Z: 0% = 0.0, 100% = 1.0 These are exactly equivalent: #7654CD rgb(46.27% 32.94% 80.39%) lab(44.36% 36.05 -58.99) color(xyz-d50 0.2005 0.14089 0.4472) color(xyz-d65 0.21661 0.14602 0.59452) These colors are exactly equivalent, and represent white: #FFFFFF color(xyz-d50 0.9643 1 0.8251) color(xyz-d65 0.9505 1 1.089)",
|
|
1509
|
+
"href": "https://drafts.csswg.org/css-color-4/#valdef-color-xyz-d50",
|
|
1510
|
+
"type": "value",
|
|
1511
|
+
"value": "xyz-d50"
|
|
1512
|
+
},
|
|
1513
|
+
{
|
|
1514
|
+
"name": "xyz-d65",
|
|
1515
|
+
"prose": "The xyz color space accepts three numeric parameters, representing the X,Y and Z values. It represents the CIE XYZ [COLORIMETRY] color space, scaled such that diffuse white has a luminance (Y) of 1.0. and, if necessary, chromatically adapted to the reference white. The reference white for xyz-d50 is D50, while the reference white for xyz-d65 and xyz is D65. Values greater than 1.0/100% are allowed and must not be clamped; colors where Y is greater than 1.0 represent colors brighter than diffuse white. Values less than 0/0% are uncommon, but can occur as a result of chromatic adaptation, and likewise must not be clamped. It has the following characteristics: Percentages Allowed for X,Y,Z Percent reference range for X,Y,Z: 0% = 0.0, 100% = 1.0 These are exactly equivalent: #7654CD rgb(46.27% 32.94% 80.39%) lab(44.36% 36.05 -58.99) color(xyz-d50 0.2005 0.14089 0.4472) color(xyz-d65 0.21661 0.14602 0.59452) These colors are exactly equivalent, and represent white: #FFFFFF color(xyz-d50 0.9643 1 0.8251) color(xyz-d65 0.9505 1 1.089)",
|
|
1516
|
+
"href": "https://drafts.csswg.org/css-color-4/#valdef-color-xyz-d65",
|
|
1517
|
+
"type": "value",
|
|
1518
|
+
"value": "xyz-d65"
|
|
1519
|
+
},
|
|
1520
|
+
{
|
|
1521
|
+
"name": "xyz",
|
|
1522
|
+
"prose": "The xyz color space accepts three numeric parameters, representing the X,Y and Z values. It represents the CIE XYZ [COLORIMETRY] color space, scaled such that diffuse white has a luminance (Y) of 1.0. and, if necessary, chromatically adapted to the reference white. The reference white for xyz-d50 is D50, while the reference white for xyz-d65 and xyz is D65. Values greater than 1.0/100% are allowed and must not be clamped; colors where Y is greater than 1.0 represent colors brighter than diffuse white. Values less than 0/0% are uncommon, but can occur as a result of chromatic adaptation, and likewise must not be clamped. It has the following characteristics: Percentages Allowed for X,Y,Z Percent reference range for X,Y,Z: 0% = 0.0, 100% = 1.0 These are exactly equivalent: #7654CD rgb(46.27% 32.94% 80.39%) lab(44.36% 36.05 -58.99) color(xyz-d50 0.2005 0.14089 0.4472) color(xyz-d65 0.21661 0.14602 0.59452) These colors are exactly equivalent, and represent white: #FFFFFF color(xyz-d50 0.9643 1 0.8251) color(xyz-d65 0.9505 1 1.089)",
|
|
1523
|
+
"href": "https://drafts.csswg.org/css-color-4/#valdef-color-xyz",
|
|
1524
|
+
"type": "value",
|
|
1525
|
+
"value": "xyz"
|
|
1526
|
+
}
|
|
1527
|
+
]
|
|
1528
|
+
},
|
|
1458
1529
|
{
|
|
1459
1530
|
"name": "<colorspace-params>",
|
|
1460
1531
|
"href": "https://drafts.csswg.org/css-color-4/#typedef-colorspace-params",
|
package/css-forms.json
CHANGED
|
@@ -157,92 +157,110 @@
|
|
|
157
157
|
{
|
|
158
158
|
"name": "::picker-icon",
|
|
159
159
|
"prose": "The ::picker-icon pseudo-element represents the part of the control that represents the icon denoting the presence of the picker. It is only generated when the originating element has basic appearance and if it opens a picker. It is a fully styleable pseudo-element and inherits from its originating element.",
|
|
160
|
-
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-picker-icon"
|
|
160
|
+
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-picker-icon",
|
|
161
|
+
"value": "::picker-icon"
|
|
161
162
|
},
|
|
162
163
|
{
|
|
163
164
|
"name": "::file-selector-button",
|
|
164
165
|
"prose": "The ::file-selector-button pseudo-element represents the button used to open a file picker, if the UA renders such a button.",
|
|
165
|
-
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-file-selector-button"
|
|
166
|
+
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-file-selector-button",
|
|
167
|
+
"value": "::file-selector-button"
|
|
166
168
|
},
|
|
167
169
|
{
|
|
168
170
|
"name": "::checkmark",
|
|
169
171
|
"prose": "The ::checkmark pseudo-element represents an indicator of whether the item is checked, and is present on checkboxes, radios, and option elements.",
|
|
170
|
-
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-checkmark"
|
|
172
|
+
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-checkmark",
|
|
173
|
+
"value": "::checkmark"
|
|
171
174
|
},
|
|
172
175
|
{
|
|
173
176
|
"name": "::slider-thumb",
|
|
174
177
|
"prose": "The ::slider-thumb pseudo-element represents the portion that allows the user to adjust the progress of the control.",
|
|
175
|
-
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-slider-thumb"
|
|
178
|
+
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-slider-thumb",
|
|
179
|
+
"value": "::slider-thumb"
|
|
176
180
|
},
|
|
177
181
|
{
|
|
178
182
|
"name": "::slider-track",
|
|
179
183
|
"prose": "The ::slider-track pseudo-element represents the portion containing both the progressed and unprogressed portions of the control.",
|
|
180
|
-
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-slider-track"
|
|
184
|
+
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-slider-track",
|
|
185
|
+
"value": "::slider-track"
|
|
181
186
|
},
|
|
182
187
|
{
|
|
183
188
|
"name": "::slider-fill",
|
|
184
189
|
"prose": "The ::slider-fill pseudo-element represents the portion containing the progressed portion of the control. When the progress of control is indeterminate (like with <progress>), the user agent must give this portion an inline-size of zero.",
|
|
185
|
-
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-slider-fill"
|
|
190
|
+
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-slider-fill",
|
|
191
|
+
"value": "::slider-fill"
|
|
186
192
|
},
|
|
187
193
|
{
|
|
188
194
|
"name": "::placeholder",
|
|
189
195
|
"prose": "The ::placeholder pseudo-element represents the portion of the input that contains the placeholder text.",
|
|
190
|
-
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-placeholder"
|
|
196
|
+
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-placeholder",
|
|
197
|
+
"value": "::placeholder"
|
|
191
198
|
},
|
|
192
199
|
{
|
|
193
200
|
"name": "::field-text",
|
|
194
201
|
"prose": "The ::field-text pseudo-element represents the portion of the input that contains the editable text.",
|
|
195
|
-
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-field-text"
|
|
202
|
+
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-field-text",
|
|
203
|
+
"value": "::field-text"
|
|
196
204
|
},
|
|
197
205
|
{
|
|
198
206
|
"name": "::clear-icon",
|
|
199
207
|
"prose": "The ::clear-icon pseudo-element represents the portion of the input that allows the user to clear the input when clicked if provided by the user agent. With appearance: textfield, the user agent must not generate this part.",
|
|
200
|
-
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-clear-icon"
|
|
208
|
+
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-clear-icon",
|
|
209
|
+
"value": "::clear-icon"
|
|
201
210
|
},
|
|
202
211
|
{
|
|
203
212
|
"name": "::step-control",
|
|
204
213
|
"prose": "The ::step-control pseudo-element represents the portion of a number input that contains the up and down buttons.",
|
|
205
|
-
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-step-control"
|
|
214
|
+
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-step-control",
|
|
215
|
+
"value": "::step-control"
|
|
206
216
|
},
|
|
207
217
|
{
|
|
208
218
|
"name": "::step-up",
|
|
209
219
|
"prose": "The ::step-up pseudo-element represents the button that increments the value inside a number input when activated.",
|
|
210
|
-
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-step-up"
|
|
220
|
+
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-step-up",
|
|
221
|
+
"value": "::step-up"
|
|
211
222
|
},
|
|
212
223
|
{
|
|
213
224
|
"name": "::step-down",
|
|
214
225
|
"prose": "The ::step-down pseudo-element represents the button that decrements the value inside a number input when activated.",
|
|
215
|
-
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-step-down"
|
|
226
|
+
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-step-down",
|
|
227
|
+
"value": "::step-down"
|
|
216
228
|
},
|
|
217
229
|
{
|
|
218
230
|
"name": "::field-component",
|
|
219
231
|
"prose": "The ::field-component pseudo-element represents the portions of the control that contain the date/time component values.",
|
|
220
|
-
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-field-component"
|
|
232
|
+
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-field-component",
|
|
233
|
+
"value": "::field-component"
|
|
221
234
|
},
|
|
222
235
|
{
|
|
223
236
|
"name": "::field-separator",
|
|
224
237
|
"prose": "The ::field-separator pseudo-element represents the portions of the control that separate the date/time component values if the user agent provides those portions.",
|
|
225
|
-
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-field-separator"
|
|
238
|
+
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-field-separator",
|
|
239
|
+
"value": "::field-separator"
|
|
226
240
|
},
|
|
227
241
|
{
|
|
228
242
|
"name": "::color-swatch",
|
|
229
243
|
"prose": "The ::color-swatch pseudo-element represents the portion of the control that displays the chosen color value.",
|
|
230
|
-
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-color-swatch"
|
|
244
|
+
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-color-swatch",
|
|
245
|
+
"value": "::color-swatch"
|
|
231
246
|
},
|
|
232
247
|
{
|
|
233
248
|
"name": ":low-value",
|
|
234
249
|
"prose": "The :low-value pseudo-class matches on a meter element when its value is under the value specified by the low HTML attribute.",
|
|
235
|
-
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-low-value"
|
|
250
|
+
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-low-value",
|
|
251
|
+
"value": ":low-value"
|
|
236
252
|
},
|
|
237
253
|
{
|
|
238
254
|
"name": ":high-value",
|
|
239
255
|
"prose": "The :high-value pseudo-class matches on a meter element when its value is over the value specified by the high HTML attribute.",
|
|
240
|
-
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-high-value"
|
|
256
|
+
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-high-value",
|
|
257
|
+
"value": ":high-value"
|
|
241
258
|
},
|
|
242
259
|
{
|
|
243
260
|
"name": ":optimal-value",
|
|
244
261
|
"prose": "The :optimal-value pseudo-class matches on a meter element when its value is in the range determined by the optimum / low / high HTML attributes.",
|
|
245
|
-
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-optimal-value"
|
|
262
|
+
"href": "https://drafts.csswg.org/css-forms-1/#selectordef-optimal-value",
|
|
263
|
+
"value": ":optimal-value"
|
|
246
264
|
}
|
|
247
265
|
],
|
|
248
266
|
"values": [
|
package/css-gcpm-4.json
CHANGED
|
@@ -31,17 +31,20 @@
|
|
|
31
31
|
{
|
|
32
32
|
"name": ":first-of-page",
|
|
33
33
|
"prose": "Same as :nth-of-page(n), but where n = 1 (it is the first matched element on the page).",
|
|
34
|
-
"href": "https://drafts.csswg.org/css-gcpm-4/#selectordef-first-of-page"
|
|
34
|
+
"href": "https://drafts.csswg.org/css-gcpm-4/#selectordef-first-of-page",
|
|
35
|
+
"value": ":first-of-page"
|
|
35
36
|
},
|
|
36
37
|
{
|
|
37
38
|
"name": ":last-of-page",
|
|
38
39
|
"prose": "The element is the last matched element on the page.",
|
|
39
|
-
"href": "https://drafts.csswg.org/css-gcpm-4/#selectordef-last-of-page"
|
|
40
|
+
"href": "https://drafts.csswg.org/css-gcpm-4/#selectordef-last-of-page",
|
|
41
|
+
"value": ":last-of-page"
|
|
40
42
|
},
|
|
41
43
|
{
|
|
42
44
|
"name": ":start-of-page",
|
|
43
45
|
"prose": "The element is the first matched element on the page, and neither it nor its ancestors have any previous siblings that appear on the page.",
|
|
44
|
-
"href": "https://drafts.csswg.org/css-gcpm-4/#selectordef-start-of-page"
|
|
46
|
+
"href": "https://drafts.csswg.org/css-gcpm-4/#selectordef-start-of-page",
|
|
47
|
+
"value": ":start-of-page"
|
|
45
48
|
}
|
|
46
49
|
],
|
|
47
50
|
"values": [
|