@webref/css 5.4.4 → 6.0.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.
Files changed (107) hide show
  1. package/CHANGELOG.md +66 -0
  2. package/CSS.json +416 -21
  3. package/README.md +4 -4
  4. package/SVG.json +42 -35
  5. package/compat.json +111 -75
  6. package/compositing.json +101 -12
  7. package/css-align.json +237 -29
  8. package/css-anchor.json +177 -19
  9. package/css-animations-2.json +37 -15
  10. package/css-animations.json +155 -31
  11. package/css-backgrounds-4.json +107 -32
  12. package/css-backgrounds.json +426 -59
  13. package/css-box.json +243 -20
  14. package/css-break.json +292 -11
  15. package/css-cascade-6.json +22 -13
  16. package/css-cascade.json +50 -15
  17. package/css-color-5.json +320 -35
  18. package/css-color-adjust.json +75 -8
  19. package/css-color.json +1100 -61
  20. package/css-conditional-4.json +11 -6
  21. package/css-conditional-5.json +38 -19
  22. package/css-conditional.json +28 -15
  23. package/css-contain-3.json +101 -26
  24. package/css-contain.json +71 -6
  25. package/css-content.json +263 -30
  26. package/css-counter-styles.json +455 -18
  27. package/css-display.json +250 -19
  28. package/css-easing.json +137 -25
  29. package/css-env.json +61 -6
  30. package/css-exclusions.json +65 -6
  31. package/css-extensions.json +20 -12
  32. package/css-flexbox.json +132 -11
  33. package/css-fonts-5.json +255 -13
  34. package/css-fonts.json +886 -74
  35. package/css-gcpm-4.json +30 -5
  36. package/css-gcpm.json +76 -15
  37. package/css-grid-3.json +10 -9
  38. package/css-grid.json +442 -42
  39. package/css-highlight-api.json +13 -5
  40. package/css-images-4.json +192 -67
  41. package/css-images.json +152 -33
  42. package/css-inline.json +525 -16
  43. package/css-layout-api.json +20 -0
  44. package/css-line-grid.json +80 -7
  45. package/css-lists.json +140 -19
  46. package/css-logical.json +125 -50
  47. package/css-masking.json +330 -47
  48. package/css-multicol-2.json +32 -5
  49. package/css-multicol.json +84 -13
  50. package/css-namespaces.json +15 -10
  51. package/css-nav.json +62 -7
  52. package/css-nesting.json +15 -0
  53. package/css-overflow-4.json +83 -10
  54. package/css-overflow.json +239 -18
  55. package/css-overscroll.json +110 -9
  56. package/css-page-floats.json +188 -16
  57. package/css-page.json +262 -67
  58. package/css-paint-api.json +8 -5
  59. package/css-position.json +269 -16
  60. package/css-properties-values-api.json +9 -7
  61. package/css-pseudo.json +67 -0
  62. package/css-regions.json +8 -7
  63. package/css-rhythm.json +69 -10
  64. package/css-round-display.json +47 -10
  65. package/css-ruby.json +136 -8
  66. package/css-scoping.json +27 -0
  67. package/css-scroll-anchoring.json +20 -5
  68. package/css-scroll-snap-2.json +272 -10
  69. package/css-scroll-snap.json +218 -29
  70. package/css-scrollbars.json +41 -6
  71. package/css-shadow-parts.json +8 -5
  72. package/css-shapes-2.json +190 -43
  73. package/css-shapes.json +130 -36
  74. package/css-size-adjust.json +26 -5
  75. package/css-sizing-4.json +404 -23
  76. package/css-sizing.json +231 -12
  77. package/css-speech.json +619 -35
  78. package/css-syntax.json +193 -92
  79. package/css-tables.json +10 -9
  80. package/css-text-4.json +800 -40
  81. package/css-text-decor-4.json +394 -23
  82. package/css-text-decor.json +159 -14
  83. package/css-text.json +371 -20
  84. package/css-transforms-2.json +177 -40
  85. package/css-transforms.json +137 -45
  86. package/css-transitions.json +33 -14
  87. package/css-ui.json +436 -42
  88. package/css-values-5.json +99 -14
  89. package/css-values.json +653 -146
  90. package/css-variables.json +12 -7
  91. package/css-view-transitions.json +45 -7
  92. package/css-will-change.json +36 -7
  93. package/css-writing-modes.json +141 -10
  94. package/fill-stroke.json +290 -35
  95. package/filter-effects-2.json +6 -5
  96. package/filter-effects.json +109 -45
  97. package/fullscreen.json +15 -0
  98. package/mathml-core.json +10 -9
  99. package/mediaqueries-5.json +505 -52
  100. package/mediaqueries.json +307 -40
  101. package/motion.json +99 -16
  102. package/package.json +1 -1
  103. package/scroll-animations.json +225 -24
  104. package/selectors.json +368 -30
  105. package/svg-strokes.json +8 -7
  106. package/upgrade-insecure-requests.json +26 -0
  107. package/html.json +0 -19
package/css-gcpm-4.json CHANGED
@@ -3,8 +3,8 @@
3
3
  "title": "CSS Generated Content for Paged Media Module Level 4",
4
4
  "url": "https://drafts.csswg.org/css-gcpm-4/"
5
5
  },
6
- "properties": {
7
- "copy-into": {
6
+ "properties": [
7
+ {
8
8
  "name": "copy-into",
9
9
  "value": "none | [ [ <custom-ident> <content-level>] [, <custom-ident> <content-level>]* ]?",
10
10
  "initial": "none",
@@ -19,7 +19,32 @@
19
19
  "copyInto"
20
20
  ]
21
21
  }
22
- },
23
- "atrules": {},
24
- "valuespaces": {}
22
+ ],
23
+ "atrules": [],
24
+ "selectors": [
25
+ {
26
+ "name": ":nth-of-page(n)",
27
+ "prose": "The element is the nth matched element on the page."
28
+ },
29
+ {
30
+ "name": ":first-of-page",
31
+ "prose": "Same as :nth-of-page(n), but where n = 1 (it is the first matched element on the page)."
32
+ },
33
+ {
34
+ "name": ":last-of-page",
35
+ "prose": "The element is the last matched element on the page."
36
+ },
37
+ {
38
+ "name": ":start-of-page",
39
+ "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."
40
+ }
41
+ ],
42
+ "values": [],
43
+ "warnings": [
44
+ {
45
+ "msg": "Missing definition",
46
+ "name": "content-list",
47
+ "value": "element | content | text | attr(<identifier>) | counter() | counters()"
48
+ }
49
+ ]
25
50
  }
package/css-gcpm.json CHANGED
@@ -3,29 +3,37 @@
3
3
  "title": "CSS Generated Content for Paged Media Module",
4
4
  "url": "https://drafts.csswg.org/css-gcpm-3/"
5
5
  },
6
- "properties": {
7
- "position": {
6
+ "properties": [
7
+ {
8
8
  "name": "position",
9
9
  "newValues": "running()",
10
10
  "styleDeclaration": [
11
11
  "position"
12
12
  ]
13
13
  },
14
- "content": {
14
+ {
15
15
  "name": "content",
16
16
  "newValues": "element()",
17
17
  "styleDeclaration": [
18
18
  "content"
19
19
  ]
20
20
  },
21
- "float": {
21
+ {
22
22
  "name": "float",
23
23
  "newValues": "footnote",
24
+ "values": [
25
+ {
26
+ "name": "footnote",
27
+ "prose": "each footnote element is placed in the footnote area of the page",
28
+ "type": "value",
29
+ "value": "footnote"
30
+ }
31
+ ],
24
32
  "styleDeclaration": [
25
33
  "float"
26
34
  ]
27
35
  },
28
- "footnote-display": {
36
+ {
29
37
  "name": "footnote-display",
30
38
  "value": "block | inline | compact",
31
39
  "initial": "block",
@@ -40,7 +48,7 @@
40
48
  "footnoteDisplay"
41
49
  ]
42
50
  },
43
- "footnote-policy": {
51
+ {
44
52
  "name": "footnote-policy",
45
53
  "value": "auto | line | block",
46
54
  "initial": "auto",
@@ -50,22 +58,75 @@
50
58
  "computedValue": "specified value",
51
59
  "canonicalOrder": "per grammar",
52
60
  "animationType": "discrete",
61
+ "values": [
62
+ {
63
+ "name": "auto",
64
+ "prose": "The user agent chooses how to render footnotes, and may place the footnote body on a later page than the footnote reference. A footnote body must never be placed on a page before the footnote reference.",
65
+ "type": "value",
66
+ "value": "auto"
67
+ },
68
+ {
69
+ "name": "line",
70
+ "prose": "If a given footnote body cannot be placed on the current page due to lack of space, the user agent introduces a forced page break at the start of the line containing the footnote reference, so that both the reference and the footnote body fall on the next page. Note that the user agent must honor widow and orphan settings when doing this, and so may need to insert the page break on an earlier line.",
71
+ "type": "value",
72
+ "value": "line"
73
+ },
74
+ {
75
+ "name": "block",
76
+ "prose": "As with line, except a forced page break is introduced before the paragraph that contains the footnote.",
77
+ "type": "value",
78
+ "value": "block"
79
+ }
80
+ ],
53
81
  "styleDeclaration": [
54
82
  "footnote-policy",
55
83
  "footnotePolicy"
56
84
  ]
57
85
  }
58
- },
59
- "atrules": {},
60
- "valuespaces": {
61
- "<running()>": {
86
+ ],
87
+ "atrules": [],
88
+ "selectors": [],
89
+ "values": [
90
+ {
91
+ "name": "running()",
92
+ "type": "function",
62
93
  "value": "running( <custom-ident> )"
63
94
  },
64
- "<element()>": {
65
- "value": "element( <custom-ident> , [ first | start | last | first-except ]? )"
66
- },
67
- "<nth()>": {
95
+ {
96
+ "name": "nth()",
97
+ "type": "function",
68
98
  "value": "( An+B [of <custom-ident>]?)"
69
99
  }
70
- }
100
+ ],
101
+ "warnings": [
102
+ {
103
+ "msg": "Missing definition",
104
+ "name": "content-list",
105
+ "value": "[ <string> | <counter()> | <counters()> | <content()> | attr(<identifier>) ]+"
106
+ },
107
+ {
108
+ "msg": "Dangling value",
109
+ "name": "block",
110
+ "prose": "The footnote element is placed in the footnote area as a block element",
111
+ "type": "value",
112
+ "value": "block",
113
+ "for": "propdef-footnote-display"
114
+ },
115
+ {
116
+ "msg": "Dangling value",
117
+ "name": "inline",
118
+ "prose": "The footnote element is placed in the footnote area as an inline element",
119
+ "type": "value",
120
+ "value": "inline",
121
+ "for": "propdef-footnote-display"
122
+ },
123
+ {
124
+ "msg": "Dangling value",
125
+ "name": "compact",
126
+ "prose": "The user agent determines whether a given footnote element is placed as a block element or an inline element. If two or more footnotes could fit on the same line in the footnote area, they should be placed inline.",
127
+ "type": "value",
128
+ "value": "compact",
129
+ "for": "propdef-footnote-display"
130
+ }
131
+ ]
71
132
  }
package/css-grid-3.json CHANGED
@@ -3,8 +3,8 @@
3
3
  "title": "CSS Grid Layout Module Level 3",
4
4
  "url": "https://drafts.csswg.org/css-grid-3/"
5
5
  },
6
- "properties": {
7
- "grid-template-columns": {
6
+ "properties": [
7
+ {
8
8
  "name": "grid-template-columns",
9
9
  "newValues": "masonry",
10
10
  "initial": "none",
@@ -18,7 +18,7 @@
18
18
  "gridTemplateColumns"
19
19
  ]
20
20
  },
21
- "grid-template-rows": {
21
+ {
22
22
  "name": "grid-template-rows",
23
23
  "newValues": "masonry",
24
24
  "initial": "none",
@@ -32,7 +32,7 @@
32
32
  "gridTemplateRows"
33
33
  ]
34
34
  },
35
- "masonry-auto-flow": {
35
+ {
36
36
  "name": "masonry-auto-flow",
37
37
  "value": "[ pack | next ] || [definite-first | ordered ]",
38
38
  "initial": "pack",
@@ -47,7 +47,7 @@
47
47
  "masonryAutoFlow"
48
48
  ]
49
49
  },
50
- "align-tracks": {
50
+ {
51
51
  "name": "align-tracks",
52
52
  "value": "[normal | <baseline-position> | <content-distribution> | <overflow-position>? <content-position>]#",
53
53
  "initial": "normal",
@@ -62,7 +62,7 @@
62
62
  "alignTracks"
63
63
  ]
64
64
  },
65
- "justify-tracks": {
65
+ {
66
66
  "name": "justify-tracks",
67
67
  "value": "[normal | <content-distribution> | <overflow-position>? [ <content-position> | left | right ] ]#",
68
68
  "initial": "normal",
@@ -77,7 +77,8 @@
77
77
  "justifyTracks"
78
78
  ]
79
79
  }
80
- },
81
- "atrules": {},
82
- "valuespaces": {}
80
+ ],
81
+ "atrules": [],
82
+ "selectors": [],
83
+ "values": []
83
84
  }