@webref/css 6.17.5 → 6.17.6

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-shapes-2.json CHANGED
@@ -99,21 +99,21 @@
99
99
  "type": "type"
100
100
  },
101
101
  {
102
- "name": "<by-to>",
103
- "value": "by | to",
104
- "href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-by-to",
102
+ "name": "<command-end-point>",
103
+ "value": "[ to <position> | by <coordinate-pair> ]",
104
+ "href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-command-end-point",
105
105
  "type": "type",
106
106
  "values": [
107
107
  {
108
108
  "name": "by",
109
- "prose": "<by-to> = by | to",
109
+ "prose": "<command-end-point> = [ by <position> | to <coordinate-pair> ]",
110
110
  "href": "https://drafts.csswg.org/css-shapes-2/#valdef-shape-by",
111
111
  "type": "value",
112
112
  "value": "by"
113
113
  },
114
114
  {
115
115
  "name": "to",
116
- "prose": "<by-to> = by | to",
116
+ "prose": "<command-end-point> = [ by <position> | to <coordinate-pair> ]",
117
117
  "href": "https://drafts.csswg.org/css-shapes-2/#valdef-shape-to",
118
118
  "type": "value",
119
119
  "value": "to"
@@ -122,79 +122,83 @@
122
122
  },
123
123
  {
124
124
  "name": "<move-command>",
125
- "value": "move <by-to> <coordinate-pair>",
125
+ "value": "move <command-end-point>",
126
126
  "href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-move-command",
127
127
  "type": "type"
128
128
  },
129
129
  {
130
130
  "name": "move",
131
- "prose": "<move-command> = move <by-to> <coordinate-pair>",
131
+ "prose": "<move-command> = move <command-end-point>",
132
132
  "href": "https://drafts.csswg.org/css-shapes-2/#valdef-shape-move",
133
133
  "type": "value",
134
134
  "value": "move"
135
135
  },
136
136
  {
137
137
  "name": "<line-command>",
138
- "value": "line <by-to> <coordinate-pair>",
138
+ "value": "line <command-end-point>",
139
139
  "href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-line-command",
140
140
  "type": "type"
141
141
  },
142
142
  {
143
143
  "name": "line",
144
- "prose": "<line-command> = line <by-to> <coordinate-pair>",
144
+ "prose": "<line-command> = line <command-end-point>",
145
145
  "href": "https://drafts.csswg.org/css-shapes-2/#valdef-shape-line",
146
146
  "type": "value",
147
147
  "value": "line"
148
148
  },
149
149
  {
150
- "name": "<hv-line-command>",
151
- "value": "[hline | vline] <by-to> <length-percentage>",
152
- "href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-hv-line-command",
150
+ "name": "<horizontal-line-command>",
151
+ "value": "hline [ to [ <length-percentage> | left | center | right | x-start | x-end ] | by <length-percentage> ]",
152
+ "href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-horizontal-line-command",
153
153
  "type": "type"
154
154
  },
155
155
  {
156
- "name": "hline",
157
- "prose": "<hv-line-command> = [hline | vline] <by-to> <length-percentage>",
158
- "href": "https://drafts.csswg.org/css-shapes-2/#valdef-shape-hline",
159
- "type": "value",
160
- "value": "hline"
161
- },
162
- {
163
- "name": "vline",
164
- "prose": "<hv-line-command> = [hline | vline] <by-to> <length-percentage>",
165
- "href": "https://drafts.csswg.org/css-shapes-2/#valdef-shape-vline",
166
- "type": "value",
167
- "value": "vline"
156
+ "name": "<vertical-line-command>",
157
+ "value": "vline [ to [ <length-percentage> | top | center | bottom | y-start | y-end ] | by <length-percentage> ]",
158
+ "href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-vertical-line-command",
159
+ "type": "type"
168
160
  },
169
161
  {
170
162
  "name": "<curve-command>",
171
- "value": "curve [<by-to> <coordinate-pair> using <coordinate-pair>{1,2}]",
163
+ "value": "curve [ [ to <position> && [ with <control-point> [ / <control-point> ]? ] ] | [ by <coordinate-pair> && [ with <relative-control-point> [ / <relative-control-point> ]? ] ] ]",
172
164
  "href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-curve-command",
173
165
  "type": "type"
174
166
  },
175
167
  {
176
168
  "name": "curve",
177
- "prose": "<curve-command> = curve [[<by-to> <coordinate-pair>] || [using <coordinate-pair>{1,2}]]",
169
+ "prose": "<curve-command> = curve [ [ to <position> && with <control-point> [ / <control-point> ]? ] | [ by <coordinate-pair> && with <relative-control-point> [ / <relative-control-point> ]? ] ]",
178
170
  "href": "https://drafts.csswg.org/css-shapes-2/#valdef-shape-curve",
179
171
  "type": "value",
180
172
  "value": "curve"
181
173
  },
182
174
  {
183
175
  "name": "<smooth-command>",
184
- "value": "smooth [[<by-to> <coordinate-pair>] || [using <coordinate-pair>]?]",
176
+ "value": "smooth [ [ to <position> && [ with <control-point> ]? ] | [ by <coordinate-pair> && [ with <relative-control-point> ]? ] ]",
185
177
  "href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-smooth-command",
186
178
  "type": "type"
187
179
  },
188
180
  {
189
181
  "name": "smooth",
190
- "prose": "<smooth-command> = smooth [[<by-to> <coordinate-pair>] || [using <coordinate-pair>]?]",
182
+ "prose": "<smooth-command> = smooth [ [ to <position> && [with <control-point> ]? ] | [ by <coordinate-pair> && [ with <relative-control-point> ]? ] ]",
191
183
  "href": "https://drafts.csswg.org/css-shapes-2/#valdef-shape-smooth",
192
184
  "type": "value",
193
185
  "value": "smooth"
194
186
  },
187
+ {
188
+ "name": "<control-point>",
189
+ "value": "[ <position> | <relative-control-point> ]",
190
+ "href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-control-point",
191
+ "type": "type"
192
+ },
193
+ {
194
+ "name": "<relative-control-point>",
195
+ "value": "<coordinate-pair> [ from [ start | end | origin ] ]?",
196
+ "href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-relative-control-point",
197
+ "type": "type"
198
+ },
195
199
  {
196
200
  "name": "<arc-command>",
197
- "value": "arc [[<by-to> <coordinate-pair>] || [of <length-percentage>{1,2}] || <arc-sweep>? || <arc-size>? || [rotate <angle>]?]",
201
+ "value": "arc [ <command-end-point> && [ of <coordinate-pair> ] && <arc-sweep>? && <arc-size>? && [rotate <angle>]? ]",
198
202
  "href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-arc-command",
199
203
  "type": "type"
200
204
  },
@@ -263,7 +267,7 @@
263
267
  "prose": "The sequence of <shape-command>s represent further path data commands. Each command’s starting point is the previous command’s ending point.",
264
268
  "href": "https://drafts.csswg.org/css-shapes-2/#typedef-shape-command",
265
269
  "type": "type",
266
- "value": "<move-command> | <line-command> | <hv-line-command> | <curve-command> | <smooth-command> | <arc-command> | close"
270
+ "value": "<move-command> | <line-command> | close | <horizontal-line-command> | <vertical-line-command> | <curve-command> | <smooth-command> | <arc-command>"
267
271
  }
268
272
  ]
269
273
  }
package/css-values-5.json CHANGED
@@ -468,12 +468,13 @@
468
468
  "name": "<if()>",
469
469
  "href": "https://drafts.csswg.org/css-values-5/#typedef-if",
470
470
  "type": "type",
471
- "value": "if( [ <if-condition> : <declaration-value>? ; ]* <if-condition> : <declaration-value>? ';'? )"
471
+ "value": "if( [ <if-condition> : <declaration-value>? ; ]* <if-condition> : <declaration-value>? ;? )"
472
472
  },
473
473
  {
474
474
  "name": "<if-condition>",
475
475
  "href": "https://drafts.csswg.org/css-values-5/#typedef-if-condition",
476
- "type": "type"
476
+ "type": "type",
477
+ "value": "<boolean-expr[ <if-test> ]> | else"
477
478
  },
478
479
  {
479
480
  "name": "<if-test>",
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.17.5",
4
+ "version": "6.17.6",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
@@ -12,6 +12,6 @@
12
12
  "license": "MIT",
13
13
  "main": "index.js",
14
14
  "peerDependencies": {
15
- "css-tree": "^2.3.1"
15
+ "css-tree": "^3.1.0"
16
16
  }
17
17
  }
package/selectors.json CHANGED
@@ -166,11 +166,6 @@
166
166
  "prose": "The :open pseudo-class represents an element that has both “open” and “closed” states, and which is currently in the “open” state.",
167
167
  "href": "https://drafts.csswg.org/selectors-4/#selectordef-open"
168
168
  },
169
- {
170
- "name": ":closed",
171
- "prose": "The :closed pseudo-class represents an element that has both “open” and “closed” states, and which is currently in the closed state.",
172
- "href": "https://drafts.csswg.org/selectors-4/#selectordef-closed"
173
- },
174
169
  {
175
170
  "name": ":modal",
176
171
  "prose": "The :modal pseudo-class represents an element which is in a state that excludes all interaction with elements outside it until it has been dismissed. Multiple elements can be :modal simultaneously, with only one of them active (able to receive input).",