@webref/css 6.25.18 → 6.25.19

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/SVG.json CHANGED
@@ -143,7 +143,7 @@
143
143
  {
144
144
  "name": "path-length",
145
145
  "href": "https://w3c.github.io/svgwg/svg2-draft/paths.html#PathLengthCSSProperty",
146
- "value": "none | <length> [0,∞]",
146
+ "value": "none | <length [0,∞]>",
147
147
  "initial": "none",
148
148
  "appliesTo": "‘path’, ‘circle’, ‘ellipse’, ‘line’, ‘polygon’, ‘polyline’, ‘rect’",
149
149
  "inherited": "no",
@@ -369,7 +369,15 @@
369
369
  "name": "<event-function>",
370
370
  "href": "https://drafts.csswg.org/animation-triggers-1/#typedef-event-function",
371
371
  "type": "type",
372
- "value": "<click()> | <dblclick()> | <pointerenter()> | <pointerleave()> | <pointerup()> | <pointerdown()> | <keypress()> | <focusin()> | <focusout()> | <input()> | <change()>"
372
+ "value": "<click()> | <dblclick()> | <pointerenter()> | <pointerleave()> | <pointerup()> | <pointerdown()> | <keypress()> | <focusin()> | <focusout()> | <input()> | <change()>",
373
+ "values": [
374
+ {
375
+ "name": "keypress()",
376
+ "value": "keypress( <string>? )",
377
+ "href": "https://drafts.csswg.org/animation-triggers-1/#funcdef-event-function-keypress",
378
+ "type": "function"
379
+ }
380
+ ]
373
381
  },
374
382
  {
375
383
  "name": "click()",
@@ -487,16 +495,5 @@
487
495
  }
488
496
  ]
489
497
  }
490
- ],
491
- "warnings": [
492
- {
493
- "msg": "Dangling value",
494
- "name": "keypress()",
495
- "value": "keypress( <string>? )",
496
- "pureSyntax": false,
497
- "href": "https://drafts.csswg.org/animation-triggers-1/#funcdef-event-function-keypress",
498
- "type": "function",
499
- "for": "event-function"
500
- }
501
498
  ]
502
499
  }
package/css-align.json CHANGED
@@ -130,7 +130,7 @@
130
130
  },
131
131
  {
132
132
  "name": "stretch",
133
- "prose": "When the box’s computed width/height (as appropriate to the axis) is auto and neither of its margins (in the appropriate axis) are auto, sets the box’s used size to the length necessary to make its outer size as close to filling the alignment container as possible while still respecting the constraints imposed by min-height/min-width/max-height/max-width. Unless otherwise specified, this value falls back to flex-start generally, and to self-start or self-end if the box has also specified first baseline or last baseline baseline content-alignment (respectively) in the same axis.",
133
+ "prose": "When the box’s computed width/height (as appropriate to the axis) is auto and neither of its margins (in the appropriate axis) are auto, sets the box’s used size to the length necessary to make its outer size as close to filling the alignment container as possible while still respecting the constraints imposed by min-height/min-width/max-height/max-width. Unless otherwise specified, this value falls back to flow-start generally, and to self-start or self-end if the box has also specified first baseline or last baseline baseline content-alignment (respectively) in the same axis.",
134
134
  "href": "https://drafts.csswg.org/css-align-3/#valdef-justify-self-stretch",
135
135
  "type": "value",
136
136
  "value": "stretch"
@@ -283,7 +283,7 @@
283
283
  "name": "<self-position>",
284
284
  "href": "https://drafts.csswg.org/css-align-3/#typedef-self-position",
285
285
  "type": "type",
286
- "value": "center | start | end | self-start | self-end | flex-start | flex-end",
286
+ "value": "center | start | end | self-start | self-end | flow-start | flow-end | flex-start | flex-end",
287
287
  "values": [
288
288
  {
289
289
  "name": "center",
@@ -320,16 +320,30 @@
320
320
  "type": "value",
321
321
  "value": "self-end"
322
322
  },
323
+ {
324
+ "name": "flow-start",
325
+ "prose": "Aligns the alignment subject to be flush with the edge of the alignment container corresponding to the start of placement. In a flex formatting context, this corresponds to the flex container’s main-start or cross-start side, as appropriate. [CSS-FLEXBOX-1] In grid lanes layout, this corresponds to the side of the grid lanes container from which item placement proceeds in the axis being aligned. See [CSS-GRID-3] for more details. When used outside of a flex formatting context or grid lanes layout, this value behaves as start, unless otherwise specified by the layout model.",
326
+ "href": "https://drafts.csswg.org/css-align-3/#valdef-self-position-flow-start",
327
+ "type": "value",
328
+ "value": "flow-start"
329
+ },
330
+ {
331
+ "name": "flow-end",
332
+ "prose": "Aligns the alignment subject to be flush with the edge of the alignment container corresponding to the end of placement. In a flex formatting context, this corresponds to the flex container’s main-end or cross-end side, as appropriate. [CSS-FLEXBOX-1] In grid lanes layout, this corresponds to the side of the grid lanes container opposite the side from which item placement proceeds in the axis being aligned. See [CSS-GRID-3] for more details. When used outside of a flex formatting context or grid lanes layout, this value behaves as end, unless otherwise specified by the layout model.",
333
+ "href": "https://drafts.csswg.org/css-align-3/#valdef-self-position-flow-end",
334
+ "type": "value",
335
+ "value": "flow-end"
336
+ },
323
337
  {
324
338
  "name": "flex-start",
325
- "prose": "Only used in flex layout. [CSS-FLEXBOX-1] Aligns the alignment subject to be flush with the edge of the alignment container corresponding to the flex container’s main-start or cross-start side, as appropriate. When used outside of a flex formatting context, this value behaves as start. That is, on boxes that are not flex items (or pretending to be flex items, such as when determining the static position of an absolutely-positioned box that is a child of a flex container), this value behaves as start when used in the self-alignment properties, and on boxes that are not flex containers, this value behaves as start when used in the content-distribution properties.",
339
+ "prose": "A legacy value alias for flow-start.",
326
340
  "href": "https://drafts.csswg.org/css-align-3/#valdef-self-position-flex-start",
327
341
  "type": "value",
328
342
  "value": "flex-start"
329
343
  },
330
344
  {
331
345
  "name": "flex-end",
332
- "prose": "Only used in flex layout. Aligns the alignment subject to be flush with the edge of the alignment container corresponding to the flex container’s main-end or cross-end side, as appropriate. When used outside of a flex formatting context, this value behaves as end. That is, on boxes that are not flex items (or pretending to be flex items, such as when determining the static position of an absolutely-positioned box that is a child of a flex container), this value behaves as end when used in the self-alignment properties, and on boxes that are not flex containers, this value behaves as end when used in the content-distribution properties.",
346
+ "prose": "A legacy value alias for flow-end.",
333
347
  "href": "https://drafts.csswg.org/css-align-3/#valdef-self-position-flex-end",
334
348
  "type": "value",
335
349
  "value": "flex-end"
@@ -340,7 +354,7 @@
340
354
  "name": "<content-position>",
341
355
  "href": "https://drafts.csswg.org/css-align-3/#typedef-content-position",
342
356
  "type": "type",
343
- "value": "center | start | end | flex-start | flex-end",
357
+ "value": "center | start | end | flow-start | flow-end | flex-start | flex-end",
344
358
  "values": [
345
359
  {
346
360
  "name": "center",
@@ -363,16 +377,30 @@
363
377
  "type": "value",
364
378
  "value": "end"
365
379
  },
380
+ {
381
+ "name": "flow-start",
382
+ "prose": "Aligns the alignment subject to be flush with the edge of the alignment container corresponding to the start of placement. In a flex formatting context, this corresponds to the flex container’s main-start or cross-start side, as appropriate. [CSS-FLEXBOX-1] In grid lanes layout, this corresponds to the side of the grid lanes container from which item placement proceeds in the axis being aligned. See [CSS-GRID-3] for more details. When used outside of a flex formatting context or grid lanes layout, this value behaves as start, unless otherwise specified by the layout model.",
383
+ "href": "https://drafts.csswg.org/css-align-3/#valdef-self-position-flow-start",
384
+ "type": "value",
385
+ "value": "flow-start"
386
+ },
387
+ {
388
+ "name": "flow-end",
389
+ "prose": "Aligns the alignment subject to be flush with the edge of the alignment container corresponding to the end of placement. In a flex formatting context, this corresponds to the flex container’s main-end or cross-end side, as appropriate. [CSS-FLEXBOX-1] In grid lanes layout, this corresponds to the side of the grid lanes container opposite the side from which item placement proceeds in the axis being aligned. See [CSS-GRID-3] for more details. When used outside of a flex formatting context or grid lanes layout, this value behaves as end, unless otherwise specified by the layout model.",
390
+ "href": "https://drafts.csswg.org/css-align-3/#valdef-self-position-flow-end",
391
+ "type": "value",
392
+ "value": "flow-end"
393
+ },
366
394
  {
367
395
  "name": "flex-start",
368
- "prose": "Only used in flex layout. [CSS-FLEXBOX-1] Aligns the alignment subject to be flush with the edge of the alignment container corresponding to the flex container’s main-start or cross-start side, as appropriate. When used outside of a flex formatting context, this value behaves as start. That is, on boxes that are not flex items (or pretending to be flex items, such as when determining the static position of an absolutely-positioned box that is a child of a flex container), this value behaves as start when used in the self-alignment properties, and on boxes that are not flex containers, this value behaves as start when used in the content-distribution properties.",
396
+ "prose": "A legacy value alias for flow-start.",
369
397
  "href": "https://drafts.csswg.org/css-align-3/#valdef-self-position-flex-start",
370
398
  "type": "value",
371
399
  "value": "flex-start"
372
400
  },
373
401
  {
374
402
  "name": "flex-end",
375
- "prose": "Only used in flex layout. Aligns the alignment subject to be flush with the edge of the alignment container corresponding to the flex container’s main-end or cross-end side, as appropriate. When used outside of a flex formatting context, this value behaves as end. That is, on boxes that are not flex items (or pretending to be flex items, such as when determining the static position of an absolutely-positioned box that is a child of a flex container), this value behaves as end when used in the self-alignment properties, and on boxes that are not flex containers, this value behaves as end when used in the content-distribution properties.",
403
+ "prose": "A legacy value alias for flow-end.",
376
404
  "href": "https://drafts.csswg.org/css-align-3/#valdef-self-position-flex-end",
377
405
  "type": "value",
378
406
  "value": "flex-end"
@@ -430,7 +458,7 @@
430
458
  "values": [
431
459
  {
432
460
  "name": "space-between",
433
- "prose": "The alignment subjects are evenly distributed in the alignment container. The first alignment subject is placed flush with the start edge of the alignment container, the last alignment subject is placed flush with the end edge of the alignment container, and the remaining alignment subjects are distributed so that the spacing between any two adjacent alignment subjects is the same. The default fallback alignment for this value is safe flex-start. (For layout modes other than flex layout, flex-start is identical to start.)",
461
+ "prose": "The alignment subjects are evenly distributed in the alignment container. The first alignment subject is placed flush with the start edge of the alignment container, the last alignment subject is placed flush with the end edge of the alignment container, and the remaining alignment subjects are distributed so that the spacing between any two adjacent alignment subjects is the same. The default fallback alignment for this value is safe flow-start.",
434
462
  "href": "https://drafts.csswg.org/css-align-3/#valdef-align-content-space-between",
435
463
  "type": "value",
436
464
  "value": "space-between"
@@ -451,7 +479,7 @@
451
479
  },
452
480
  {
453
481
  "name": "stretch",
454
- "prose": "If the combined size of the alignment subjects is less than the size of the alignment container, any auto-sized alignment subjects have their size increased equally (not proportionally), while still respecting the constraints imposed by max-height/max-width (or equivalent functionality), so that the combined size exactly fills the alignment container. The default fallback alignment for this value is flex-start. (For layout modes other than flex layout, flex-start is identical to start.)",
482
+ "prose": "If the combined size of the alignment subjects is less than the size of the alignment container, any auto-sized alignment subjects have their size increased equally (not proportionally), while still respecting the constraints imposed by max-height/max-width (or equivalent functionality), so that the combined size exactly fills the alignment container. The default fallback alignment for this value is flow-start.",
455
483
  "href": "https://drafts.csswg.org/css-align-3/#valdef-align-content-stretch",
456
484
  "type": "value",
457
485
  "value": "stretch"
@@ -466,7 +494,7 @@
466
494
  "values": [
467
495
  {
468
496
  "name": "safe",
469
- "prose": "If the size of the alignment subject overflows the alignment container, the alignment subject is instead aligned as if the alignment mode were flex-start. However for absolutely positioned boxes, see § 4.4.1.2 Self-Alignment for Absolutely Positioned Boxes.",
497
+ "prose": "If the size of the alignment subject overflows the alignment container, the alignment subject is instead aligned as if the alignment mode were flow-start. However for absolutely positioned boxes, see § 4.4.1.2 Self-Alignment for Absolutely Positioned Boxes.",
470
498
  "href": "https://drafts.csswg.org/css-align-3/#valdef-overflow-position-safe",
471
499
  "type": "value",
472
500
  "value": "safe"
package/css-borders.json CHANGED
@@ -1620,7 +1620,7 @@
1620
1620
  {
1621
1621
  "name": "corner-top-left",
1622
1622
  "href": "https://drafts.csswg.org/css-borders-4/#propdef-corner-top-left",
1623
- "value": "<'border-top-left-radius'> || <'corner-top-left-shape'>",
1623
+ "value": "<'corner-top-left-shape'> || <'border-top-left-radius'>",
1624
1624
  "initial": "0",
1625
1625
  "appliesTo": "all elements (but see prose)",
1626
1626
  "inherited": "no",
@@ -1640,7 +1640,7 @@
1640
1640
  {
1641
1641
  "name": "corner-top-right",
1642
1642
  "href": "https://drafts.csswg.org/css-borders-4/#propdef-corner-top-right",
1643
- "value": "<'border-top-left-radius'> || <'corner-top-left-shape'>",
1643
+ "value": "<'corner-top-left-shape'> || <'border-top-left-radius'>",
1644
1644
  "initial": "0",
1645
1645
  "appliesTo": "all elements (but see prose)",
1646
1646
  "inherited": "no",
@@ -1660,7 +1660,7 @@
1660
1660
  {
1661
1661
  "name": "corner-bottom-left",
1662
1662
  "href": "https://drafts.csswg.org/css-borders-4/#propdef-corner-bottom-left",
1663
- "value": "<'border-top-left-radius'> || <'corner-top-left-shape'>",
1663
+ "value": "<'corner-top-left-shape'> || <'border-top-left-radius'>",
1664
1664
  "initial": "0",
1665
1665
  "appliesTo": "all elements (but see prose)",
1666
1666
  "inherited": "no",
@@ -1680,7 +1680,7 @@
1680
1680
  {
1681
1681
  "name": "corner-bottom-right",
1682
1682
  "href": "https://drafts.csswg.org/css-borders-4/#propdef-corner-bottom-right",
1683
- "value": "<'border-top-left-radius'> || <'corner-top-left-shape'>",
1683
+ "value": "<'corner-top-left-shape'> || <'border-top-left-radius'>",
1684
1684
  "initial": "0",
1685
1685
  "appliesTo": "all elements (but see prose)",
1686
1686
  "inherited": "no",
@@ -1700,7 +1700,7 @@
1700
1700
  {
1701
1701
  "name": "corner-start-start",
1702
1702
  "href": "https://drafts.csswg.org/css-borders-4/#propdef-corner-start-start",
1703
- "value": "<'border-top-left-radius'> || <'corner-top-left-shape'>",
1703
+ "value": "<'corner-top-left-shape'> || <'border-top-left-radius'>",
1704
1704
  "initial": "0",
1705
1705
  "appliesTo": "all elements (but see prose)",
1706
1706
  "inherited": "no",
@@ -1720,7 +1720,7 @@
1720
1720
  {
1721
1721
  "name": "corner-start-end",
1722
1722
  "href": "https://drafts.csswg.org/css-borders-4/#propdef-corner-start-end",
1723
- "value": "<'border-top-left-radius'> || <'corner-top-left-shape'>",
1723
+ "value": "<'corner-top-left-shape'> || <'border-top-left-radius'>",
1724
1724
  "initial": "0",
1725
1725
  "appliesTo": "all elements (but see prose)",
1726
1726
  "inherited": "no",
@@ -1740,7 +1740,7 @@
1740
1740
  {
1741
1741
  "name": "corner-end-start",
1742
1742
  "href": "https://drafts.csswg.org/css-borders-4/#propdef-corner-end-start",
1743
- "value": "<'border-top-left-radius'> || <'corner-top-left-shape'>",
1743
+ "value": "<'corner-top-left-shape'> || <'border-top-left-radius'>",
1744
1744
  "initial": "0",
1745
1745
  "appliesTo": "all elements (but see prose)",
1746
1746
  "inherited": "no",
@@ -1760,7 +1760,7 @@
1760
1760
  {
1761
1761
  "name": "corner-end-end",
1762
1762
  "href": "https://drafts.csswg.org/css-borders-4/#propdef-corner-end-end",
1763
- "value": "<'border-top-left-radius'> || <'corner-top-left-shape'>",
1763
+ "value": "<'corner-top-left-shape'> || <'border-top-left-radius'>",
1764
1764
  "initial": "0",
1765
1765
  "appliesTo": "all elements (but see prose)",
1766
1766
  "inherited": "no",
@@ -1780,7 +1780,7 @@
1780
1780
  {
1781
1781
  "name": "corner-top",
1782
1782
  "href": "https://drafts.csswg.org/css-borders-4/#propdef-corner-top",
1783
- "value": "<'border-top-radius'> || <'corner-top-shape'>",
1783
+ "value": "<'corner-top-shape'> || <'border-top-radius'>",
1784
1784
  "initial": "0",
1785
1785
  "appliesTo": "all elements (but see prose)",
1786
1786
  "inherited": "no",
@@ -1800,7 +1800,7 @@
1800
1800
  {
1801
1801
  "name": "corner-right",
1802
1802
  "href": "https://drafts.csswg.org/css-borders-4/#propdef-corner-right",
1803
- "value": "<'border-top-radius'> || <'corner-top-shape'>",
1803
+ "value": "<'corner-top-shape'> || <'border-top-radius'>",
1804
1804
  "initial": "0",
1805
1805
  "appliesTo": "all elements (but see prose)",
1806
1806
  "inherited": "no",
@@ -1820,7 +1820,7 @@
1820
1820
  {
1821
1821
  "name": "corner-bottom",
1822
1822
  "href": "https://drafts.csswg.org/css-borders-4/#propdef-corner-bottom",
1823
- "value": "<'border-top-radius'> || <'corner-top-shape'>",
1823
+ "value": "<'corner-top-shape'> || <'border-top-radius'>",
1824
1824
  "initial": "0",
1825
1825
  "appliesTo": "all elements (but see prose)",
1826
1826
  "inherited": "no",
@@ -1840,7 +1840,7 @@
1840
1840
  {
1841
1841
  "name": "corner-left",
1842
1842
  "href": "https://drafts.csswg.org/css-borders-4/#propdef-corner-left",
1843
- "value": "<'border-top-radius'> || <'corner-top-shape'>",
1843
+ "value": "<'corner-top-shape'> || <'border-top-radius'>",
1844
1844
  "initial": "0",
1845
1845
  "appliesTo": "all elements (but see prose)",
1846
1846
  "inherited": "no",
@@ -1860,7 +1860,7 @@
1860
1860
  {
1861
1861
  "name": "corner-block-start",
1862
1862
  "href": "https://drafts.csswg.org/css-borders-4/#propdef-corner-block-start",
1863
- "value": "<'border-top-radius'> || <'corner-top-shape'>",
1863
+ "value": "<'corner-top-shape'> || <'border-top-radius'>",
1864
1864
  "initial": "0",
1865
1865
  "appliesTo": "all elements (but see prose)",
1866
1866
  "inherited": "no",
@@ -1880,7 +1880,7 @@
1880
1880
  {
1881
1881
  "name": "corner-block-end",
1882
1882
  "href": "https://drafts.csswg.org/css-borders-4/#propdef-corner-block-end",
1883
- "value": "<'border-top-radius'> || <'corner-top-shape'>",
1883
+ "value": "<'corner-top-shape'> || <'border-top-radius'>",
1884
1884
  "initial": "0",
1885
1885
  "appliesTo": "all elements (but see prose)",
1886
1886
  "inherited": "no",
@@ -1900,7 +1900,7 @@
1900
1900
  {
1901
1901
  "name": "corner-inline-start",
1902
1902
  "href": "https://drafts.csswg.org/css-borders-4/#propdef-corner-inline-start",
1903
- "value": "<'border-top-radius'> || <'corner-top-shape'>",
1903
+ "value": "<'corner-top-shape'> || <'border-top-radius'>",
1904
1904
  "initial": "0",
1905
1905
  "appliesTo": "all elements (but see prose)",
1906
1906
  "inherited": "no",
@@ -1920,7 +1920,7 @@
1920
1920
  {
1921
1921
  "name": "corner-inline-end",
1922
1922
  "href": "https://drafts.csswg.org/css-borders-4/#propdef-corner-inline-end",
1923
- "value": "<'border-top-radius'> || <'corner-top-shape'>",
1923
+ "value": "<'corner-top-shape'> || <'border-top-radius'>",
1924
1924
  "initial": "0",
1925
1925
  "appliesTo": "all elements (but see prose)",
1926
1926
  "inherited": "no",
@@ -1940,7 +1940,7 @@
1940
1940
  {
1941
1941
  "name": "corner",
1942
1942
  "href": "https://drafts.csswg.org/css-borders-4/#propdef-corner",
1943
- "value": "<'border-radius'> || <'corner-shape'>",
1943
+ "value": "<'corner-shape'> || <'border-radius'>",
1944
1944
  "initial": "0",
1945
1945
  "appliesTo": "all elements (but see prose)",
1946
1946
  "inherited": "no",
@@ -1952,8 +1952,8 @@
1952
1952
  "corner"
1953
1953
  ],
1954
1954
  "longhands": [
1955
- "border-radius",
1956
- "corner-shape"
1955
+ "corner-shape",
1956
+ "border-radius"
1957
1957
  ]
1958
1958
  },
1959
1959
  {
package/css-color-5.json CHANGED
@@ -292,7 +292,7 @@
292
292
  },
293
293
  {
294
294
  "name": "alpha()",
295
- "value": "alpha([from <color>] [ / [<alpha-value> | none] ]? )",
295
+ "value": "alpha(from <color> / [<alpha-value> | none])",
296
296
  "href": "https://drafts.csswg.org/css-color-5/#funcdef-alpha",
297
297
  "type": "function",
298
298
  "values": [
package/css-content.json CHANGED
@@ -222,7 +222,7 @@
222
222
  "name": "<content-list>",
223
223
  "href": "https://drafts.csswg.org/css-content-3/#typedef-content-list",
224
224
  "type": "type",
225
- "value": "[ <string> | <image> | <attr()> | contents | <quote> | <leader()> | <target> | <string()> | <content()> | <counter> | <symbolic-counter-style> ]+",
225
+ "value": "[ <string> | <image> | <attr()> | contents | <quote> | <leader()> | <target> | <string()> | <content()> | <counter> | <symbolic-glyph> ]+",
226
226
  "values": [
227
227
  {
228
228
  "name": "<string>",
package/css-fonts.json CHANGED
@@ -526,14 +526,14 @@
526
526
  "values": [
527
527
  {
528
528
  "name": "auto",
529
- "prose": "Specifies that kerning is applied at the discretion of the user agent",
529
+ "prose": "Specifies that kerning is applied, to proportionally-spaced glyphs, at the discretion of the user agent",
530
530
  "href": "https://drafts.csswg.org/css-fonts-4/#font-kerning-auto-value",
531
531
  "type": "value",
532
532
  "value": "auto"
533
533
  },
534
534
  {
535
535
  "name": "normal",
536
- "prose": "Specifies that kerning is applied",
536
+ "prose": "Specifies that kerning is applied, to proportionally-spaced glyphs",
537
537
  "href": "https://drafts.csswg.org/css-fonts-4/#font-kerning-normal-value",
538
538
  "type": "value",
539
539
  "value": "normal"
package/css-page.json CHANGED
@@ -259,6 +259,118 @@
259
259
  "value": "add"
260
260
  }
261
261
  ]
262
+ },
263
+ {
264
+ "name": "@top-left-corner",
265
+ "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-page-top-left-corner",
266
+ "type": "at-rule",
267
+ "for": "@page",
268
+ "value": "@top-left-corner { <declaration-list> };"
269
+ },
270
+ {
271
+ "name": "@top-left",
272
+ "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-page-top-left",
273
+ "type": "at-rule",
274
+ "for": "@page",
275
+ "value": "@top-left { <declaration-list> };"
276
+ },
277
+ {
278
+ "name": "@top-center",
279
+ "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-page-top-center",
280
+ "type": "at-rule",
281
+ "for": "@page",
282
+ "value": "@top-center { <declaration-list> };"
283
+ },
284
+ {
285
+ "name": "@top-right",
286
+ "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-page-top-right",
287
+ "type": "at-rule",
288
+ "for": "@page",
289
+ "value": "@top-right { <declaration-list> };"
290
+ },
291
+ {
292
+ "name": "@top-right-corner",
293
+ "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-page-top-right-corner",
294
+ "type": "at-rule",
295
+ "for": "@page",
296
+ "value": "@top-right-corner { <declaration-list> };"
297
+ },
298
+ {
299
+ "name": "@bottom-left-corner",
300
+ "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-page-bottom-left-corner",
301
+ "type": "at-rule",
302
+ "for": "@page",
303
+ "value": "@bottom-left-corner { <declaration-list> };"
304
+ },
305
+ {
306
+ "name": "@bottom-left",
307
+ "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-page-bottom-left",
308
+ "type": "at-rule",
309
+ "for": "@page",
310
+ "value": "@bottom-left { <declaration-list> };"
311
+ },
312
+ {
313
+ "name": "@bottom-center",
314
+ "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-page-bottom-center",
315
+ "type": "at-rule",
316
+ "for": "@page",
317
+ "value": "@bottom-center { <declaration-list> };"
318
+ },
319
+ {
320
+ "name": "@bottom-right",
321
+ "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-page-bottom-right",
322
+ "type": "at-rule",
323
+ "for": "@page",
324
+ "value": "@bottom-right { <declaration-list> };"
325
+ },
326
+ {
327
+ "name": "@bottom-right-corner",
328
+ "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-page-bottom-right-corner",
329
+ "type": "at-rule",
330
+ "for": "@page",
331
+ "value": "@bottom-right-corner { <declaration-list> };"
332
+ },
333
+ {
334
+ "name": "@left-top",
335
+ "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-page-left-top",
336
+ "type": "at-rule",
337
+ "for": "@page",
338
+ "value": "@left-top { <declaration-list> };"
339
+ },
340
+ {
341
+ "name": "@left-middle",
342
+ "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-page-left-middle",
343
+ "type": "at-rule",
344
+ "for": "@page",
345
+ "value": "@left-middle { <declaration-list> };"
346
+ },
347
+ {
348
+ "name": "@left-bottom",
349
+ "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-page-left-bottom",
350
+ "type": "at-rule",
351
+ "for": "@page",
352
+ "value": "@left-bottom { <declaration-list> };"
353
+ },
354
+ {
355
+ "name": "@right-top",
356
+ "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-page-right-top",
357
+ "type": "at-rule",
358
+ "for": "@page",
359
+ "value": "@right-top { <declaration-list> };"
360
+ },
361
+ {
362
+ "name": "@right-middle",
363
+ "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-page-right-middle",
364
+ "type": "at-rule",
365
+ "for": "@page",
366
+ "value": "@right-middle { <declaration-list> };"
367
+ },
368
+ {
369
+ "name": "@right-bottom",
370
+ "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-page-right-bottom",
371
+ "type": "at-rule",
372
+ "for": "@page",
373
+ "value": "@right-bottom { <declaration-list> };"
262
374
  }
263
375
  ],
264
376
  "value": "@page <page-selector-list>? { <declaration-rule-list> }",
@@ -292,102 +404,6 @@
292
404
  "value": ":blank"
293
405
  }
294
406
  ]
295
- },
296
- {
297
- "name": "@top-left-corner",
298
- "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-top-left-corner",
299
- "descriptors": [],
300
- "value": "@top-left-corner { <declaration-list> };"
301
- },
302
- {
303
- "name": "@top-left",
304
- "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-top-left",
305
- "descriptors": [],
306
- "value": "@top-left { <declaration-list> };"
307
- },
308
- {
309
- "name": "@top-center",
310
- "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-top-center",
311
- "descriptors": [],
312
- "value": "@top-center { <declaration-list> };"
313
- },
314
- {
315
- "name": "@top-right",
316
- "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-top-right",
317
- "descriptors": [],
318
- "value": "@top-right { <declaration-list> };"
319
- },
320
- {
321
- "name": "@top-right-corner",
322
- "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-top-right-corner",
323
- "descriptors": [],
324
- "value": "@top-right-corner { <declaration-list> };"
325
- },
326
- {
327
- "name": "@bottom-left-corner",
328
- "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-bottom-left-corner",
329
- "descriptors": [],
330
- "value": "@bottom-left-corner { <declaration-list> };"
331
- },
332
- {
333
- "name": "@bottom-left",
334
- "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-bottom-left",
335
- "descriptors": [],
336
- "value": "@bottom-left { <declaration-list> };"
337
- },
338
- {
339
- "name": "@bottom-center",
340
- "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-bottom-center",
341
- "descriptors": [],
342
- "value": "@bottom-center { <declaration-list> };"
343
- },
344
- {
345
- "name": "@bottom-right",
346
- "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-bottom-right",
347
- "descriptors": [],
348
- "value": "@bottom-right { <declaration-list> };"
349
- },
350
- {
351
- "name": "@bottom-right-corner",
352
- "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-bottom-right-corner",
353
- "descriptors": [],
354
- "value": "@bottom-right-corner { <declaration-list> };"
355
- },
356
- {
357
- "name": "@left-top",
358
- "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-left-top",
359
- "descriptors": [],
360
- "value": "@left-top { <declaration-list> };"
361
- },
362
- {
363
- "name": "@left-middle",
364
- "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-left-middle",
365
- "descriptors": [],
366
- "value": "@left-middle { <declaration-list> };"
367
- },
368
- {
369
- "name": "@left-bottom",
370
- "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-left-bottom",
371
- "descriptors": [],
372
- "value": "@left-bottom { <declaration-list> };"
373
- },
374
- {
375
- "name": "@right-top",
376
- "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-right-top",
377
- "descriptors": [],
378
- "value": "@right-top { <declaration-list> };"
379
- },
380
- {
381
- "name": "@right-middle",
382
- "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-right-middle",
383
- "descriptors": [],
384
- "value": "@right-middle { <declaration-list> };"
385
- },
386
- {
387
- "name": "@right-bottom",
388
- "href": "https://drafts.csswg.org/css-page-3/#at-ruledef-right-bottom",
389
- "descriptors": [],
390
- "value": "@right-bottom { <declaration-list> };"
391
407
  }
392
408
  ],
393
409
  "selectors": [],
package/css-pseudo.json CHANGED
@@ -69,6 +69,18 @@
69
69
  "value": "::highlight(<highlight-name-selector>)",
70
70
  "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-highlight-highlight-name-selector"
71
71
  },
72
+ {
73
+ "name": "::before",
74
+ "prose": "Represents a styleable child pseudo-element immediately before the originating element’s actual content.",
75
+ "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-before",
76
+ "value": "::before"
77
+ },
78
+ {
79
+ "name": "::after",
80
+ "prose": "Represents a styleable child pseudo-element immediately after the originating element’s actual content.",
81
+ "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-after",
82
+ "value": "::after"
83
+ },
72
84
  {
73
85
  "name": "::marker",
74
86
  "prose": "The ::marker pseudo-element represents the automatically generated marker box of a list item. (See [CSS-DISPLAY-3] and [CSS-LISTS-3].)",
@@ -77,7 +89,7 @@
77
89
  },
78
90
  {
79
91
  "name": "::interest-button",
80
- "prose": "The ::interest-button pseudo-element represents a button which, when pressed, \"shows interest\" in the originating element. This pseudo-element only exists on valid interest invokers. (See interest-delay for more discussion of this feature, and the HTML interestfor attribute.)",
92
+ "prose": "The ::interest-button pseudo-element represents a button which, when pressed, shows interest in the originating element. This pseudo-element only exists on valid interest sources. (See interest-delay, :interest-source, and :interest-target for more discussion of this feature, and the HTML interestfor attribute.)",
81
93
  "href": "https://drafts.csswg.org/css-pseudo-4/#selectordef-interest-button",
82
94
  "value": "::interest-button"
83
95
  },
package/css-values.json CHANGED
@@ -211,14 +211,14 @@
211
211
  },
212
212
  {
213
213
  "name": "ch",
214
- "prose": "Represents the typical advance measure of European alphanumeric characters, and measured as the used advance measure of the “0” (ZERO, U+0030) glyph in the font used to render it. (The advance measure of a glyph is its advance width or height, whichever is in the inline axis of the element.) In the cases where it is impossible or impractical to determine the measure of the “0” glyph, it must be assumed to be 0.5em wide by 1em tall. Thus, the ch unit falls back to 0.5em in the general case, and to 1em when it would be typeset upright (i.e. writing-mode is vertical-rl or vertical-lr and text-orientation is upright).",
214
+ "prose": "Represents the typical advance measure of European alphanumeric characters, and measured as the used advance measure of the “0” (ZERO, U+0030) glyph in the font used to render it. (The advance measure of a glyph is its advance width or height, whichever is in the inline axis of the element.) In the cases where it is impossible or impractical to determine the measure of the “0” glyph, it must be assumed to be 0.5em wide by 1em tall. Thus, the ch unit falls back to 0.5em in the general case, and to 1em when it would be typeset upright (i.e. writing-mode is vertical-rl or vertical-lr, and text-orientation is upright).",
215
215
  "href": "https://drafts.csswg.org/css-values-4/#ch",
216
216
  "type": "value",
217
217
  "value": "ch"
218
218
  },
219
219
  {
220
220
  "name": "ch unit",
221
- "prose": "Represents the typical advance measure of European alphanumeric characters, and measured as the used advance measure of the “0” (ZERO, U+0030) glyph in the font used to render it. (The advance measure of a glyph is its advance width or height, whichever is in the inline axis of the element.) In the cases where it is impossible or impractical to determine the measure of the “0” glyph, it must be assumed to be 0.5em wide by 1em tall. Thus, the ch unit falls back to 0.5em in the general case, and to 1em when it would be typeset upright (i.e. writing-mode is vertical-rl or vertical-lr and text-orientation is upright).",
221
+ "prose": "Represents the typical advance measure of European alphanumeric characters, and measured as the used advance measure of the “0” (ZERO, U+0030) glyph in the font used to render it. (The advance measure of a glyph is its advance width or height, whichever is in the inline axis of the element.) In the cases where it is impossible or impractical to determine the measure of the “0” glyph, it must be assumed to be 0.5em wide by 1em tall. Thus, the ch unit falls back to 0.5em in the general case, and to 1em when it would be typeset upright (i.e. writing-mode is vertical-rl or vertical-lr, and text-orientation is upright).",
222
222
  "href": "https://drafts.csswg.org/css-values-4/#ch",
223
223
  "type": "value",
224
224
  "value": "ch unit"
@@ -145,9 +145,16 @@
145
145
  "name": "display-mode",
146
146
  "href": "https://drafts.csswg.org/mediaqueries-5/#descdef-media-display-mode",
147
147
  "for": "@media",
148
- "value": "fullscreen | standalone | minimal-ui | browser | picture-in-picture",
148
+ "value": "application | fullscreen | standalone | minimal-ui | browser | picture-in-picture",
149
149
  "type": "discrete",
150
150
  "values": [
151
+ {
152
+ "name": "application",
153
+ "prose": "The top-level browsing context is an application context.",
154
+ "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-display-mode-application",
155
+ "type": "value",
156
+ "value": "application"
157
+ },
151
158
  {
152
159
  "name": "fullscreen",
153
160
  "prose": "The browsing context is displayed with browser UI elements hidden and takes up the entirety of the available display area. The fullscreen context may have been caused by the fullscreen display mode in the application manifest, by the requestFullscreen() method of the Fullscreen API, or through some other means (such as the user manually activating fullscreen mode using the user agent’s built-in controls). Corresponds to the fullscreen display mode.",
@@ -171,7 +178,7 @@
171
178
  },
172
179
  {
173
180
  "name": "browser",
174
- "prose": "The browsing context is displayed using the platform-specific convention for opening hyperlinks in the user agent (e.g., in a browser tab or web browser window with controls such as an address bar). This should be used for non-application contexts where no other display mode is appropriate. Corresponds to the browser display mode.",
181
+ "prose": "The browsing context is displayed using the platform-specific convention for opening hyperlinks in the user agent (e.g., in a browser tab or web browser window with controls such as an address bar). Only applicable in non-application contexts. Corresponds to the browser display mode.",
175
182
  "href": "https://drafts.csswg.org/mediaqueries-5/#valdef-media-display-mode-browser",
176
183
  "type": "value",
177
184
  "value": "browser"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webref/css",
3
3
  "description": "CSS definitions of the web platform",
4
- "version": "6.25.18",
4
+ "version": "6.25.19",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
package/selectors-5.json CHANGED
@@ -14,13 +14,13 @@
14
14
  },
15
15
  {
16
16
  "name": ":interest-source",
17
- "prose": "The :interest-source pseudo-class applies to an interest source element that the user is currently \"showing interest\" in, and the :interest-target pseudo-class applies to the associated interest target of an element matching :interest-source.",
17
+ "prose": "The :interest-source pseudo-class applies to an interest source element that the user is currently showing interest in, and the :interest-target pseudo-class applies to the associated interest target of an element matching :interest-source.",
18
18
  "href": "https://drafts.csswg.org/selectors-5/#selectordef-interest-source",
19
19
  "value": ":interest-source"
20
20
  },
21
21
  {
22
22
  "name": ":interest-target",
23
- "prose": "The :interest-source pseudo-class applies to an interest source element that the user is currently \"showing interest\" in, and the :interest-target pseudo-class applies to the associated interest target of an element matching :interest-source.",
23
+ "prose": "The :interest-source pseudo-class applies to an interest source element that the user is currently showing interest in, and the :interest-target pseudo-class applies to the associated interest target of an element matching :interest-source.",
24
24
  "href": "https://drafts.csswg.org/selectors-5/#selectordef-interest-target",
25
25
  "value": ":interest-target"
26
26
  },
@@ -99,6 +99,12 @@
99
99
  "href": "https://drafts.csswg.org/selectors-5/#typedef-combinator",
100
100
  "type": "type",
101
101
  "value": "'>' | '+' | '~' | [ '|' '|' ] | [ / <wq-name> / ]"
102
+ },
103
+ {
104
+ "name": "<class-selector>",
105
+ "href": "https://drafts.csswg.org/selectors-5/#typedef-class-selector",
106
+ "type": "type",
107
+ "value": "'.' <ident-token> '*'?"
102
108
  }
103
109
  ]
104
110
  }