@webref/css 5.1.1 → 5.2.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-align.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Box Alignment Module Level 3",
4
- "url": "https://drafts.csswg.org/css-align/"
4
+ "url": "https://drafts.csswg.org/css-align-3/"
5
5
  },
6
6
  "properties": {
7
7
  "align-content": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Animations Level 1",
4
- "url": "https://drafts.csswg.org/css-animations/"
4
+ "url": "https://drafts.csswg.org/css-animations-1/"
5
5
  },
6
6
  "properties": {
7
7
  "animation-name": {
@@ -52,7 +52,7 @@
52
52
  "background-position-inline": {
53
53
  "name": "background-position-inline",
54
54
  "value": "[ center | [ start | end ]? <length-percentage>? ]#",
55
- "initial": "not applicable (initial value comes from physical property)",
55
+ "initial": "0%",
56
56
  "appliesTo": "all elements",
57
57
  "inherited": "no",
58
58
  "percentages": "refer to inline-size of background positioning area minus inline-size of background image",
@@ -67,7 +67,7 @@
67
67
  "background-position-block": {
68
68
  "name": "background-position-block",
69
69
  "value": "[ center | [ start | end ]? <length-percentage>? ]#",
70
- "initial": "not applicable (initial value comes from physical property)",
70
+ "initial": "0%",
71
71
  "appliesTo": "all elements",
72
72
  "inherited": "no",
73
73
  "percentages": "refer to size of background positioning area minus size of background image",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Backgrounds and Borders Module Level 3",
4
- "url": "https://drafts.csswg.org/css-backgrounds/"
4
+ "url": "https://drafts.csswg.org/css-backgrounds-3/"
5
5
  },
6
6
  "properties": {
7
7
  "background-color": {
@@ -58,7 +58,7 @@
58
58
  },
59
59
  "atrules": {
60
60
  "@container": {
61
- "value": "@container [ <container-name> ]? <container-condition> { <stylesheet> }",
61
+ "value": "@container <container-condition> { <stylesheet> }",
62
62
  "descriptors": [
63
63
  {
64
64
  "name": "width",
@@ -106,23 +106,23 @@
106
106
  "<style-feature>": {
107
107
  "prose": "A container style query allows querying the computed values of the query container. It is a boolean combination of individual style features (<style-feature>) that each query a single, specific property of the query container. The syntax of a <style-feature> is the same as for a declaration [CSS-SYNTAX-3], and its query is true if the computed value of the given property on the query container matches the given value (which is also computed with respect to the query container), unknown if the property or its value is invalid or unsupported, and false otherwise. The boolean syntax and logic combining style features into a style query is the same as for CSS feature queries. (See @supports. [CSS-CONDITIONAL-3])"
108
108
  },
109
+ "<container-condition>": {
110
+ "value": "[ <container-name> ]? <container-query>"
111
+ },
109
112
  "<container-name>": {
110
113
  "value": "<custom-ident>"
111
114
  },
112
- "<container-condition>": {
115
+ "<container-query>": {
113
116
  "value": "not <query-in-parens> | <query-in-parens> [ [ and <query-in-parens> ]* | [ or <query-in-parens> ]* ]"
114
117
  },
115
118
  "<query-in-parens>": {
116
- "value": "( <container-condition> ) | ( <size-feature> ) | style( <style-query> ) | <general-enclosed>"
119
+ "value": "( <container-query> ) | ( <size-feature> ) | style( <style-query> ) | <general-enclosed>"
117
120
  },
118
121
  "<style-query>": {
119
- "value": "<style-condition> | <style-feature>"
120
- },
121
- "<style-condition>": {
122
- "value": "not <style-in-parens> | <style-in-parens> [ [ and <style-in-parens> ]* | [ or <style-in-parens> ]* ]"
122
+ "value": "not <style-in-parens> | <style-in-parens> [ [ and <style-in-parens> ]* | [ or <style-in-parens> ]* ] | <style-feature>"
123
123
  },
124
124
  "<style-in-parens>": {
125
- "value": "( <style-condition> ) | ( <style-feature> ) | <general-enclosed>"
125
+ "value": "( <style-query> ) | ( <style-feature> ) | <general-enclosed>"
126
126
  }
127
127
  }
128
128
  }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Counter Styles Level 3",
4
- "url": "https://drafts.csswg.org/css-counter-styles/"
4
+ "url": "https://drafts.csswg.org/css-counter-styles-3/"
5
5
  },
6
6
  "properties": {},
7
7
  "atrules": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Device Adaptation Module Level 1",
4
- "url": "https://drafts.csswg.org/css-device-adapt/"
4
+ "url": "https://drafts.csswg.org/css-device-adapt-1/"
5
5
  },
6
6
  "properties": {},
7
7
  "atrules": {
package/css-display.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Display Module Level 3",
4
- "url": "https://drafts.csswg.org/css-display/"
4
+ "url": "https://drafts.csswg.org/css-display-3/"
5
5
  },
6
6
  "properties": {
7
7
  "display": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Exclusions Module Level 1",
4
- "url": "https://drafts.csswg.org/css-exclusions/"
4
+ "url": "https://drafts.csswg.org/css-exclusions-1/"
5
5
  },
6
6
  "properties": {
7
7
  "wrap-flow": {
package/css-fonts.json CHANGED
@@ -58,7 +58,7 @@
58
58
  "percentages": "n/a",
59
59
  "computedValue": "the keyword specified, plus angle in degrees if specified",
60
60
  "canonicalOrder": "per grammar",
61
- "animationType": "by computed value type; normal animates as 'oblique 0deg'",
61
+ "animationType": "by computed value type; normal animates as oblique 0deg",
62
62
  "styleDeclaration": [
63
63
  "font-style",
64
64
  "fontStyle"
@@ -277,7 +277,7 @@
277
277
  },
278
278
  "font-variant": {
279
279
  "name": "font-variant",
280
- "value": "normal | none | [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || [ stylistic(<feature-value-name>) || historical-forms || styleset(<feature-value-name>#) || character-variant(<feature-value-name>#) || swash(<feature-value-name>) || ornaments(<feature-value-name>) || annotation(<feature-value-name>) ] || <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero || <east-asian-variant-values> || <east-asian-width-values> || ruby || [ sub | super ] || [ text | emoji | unicode ] ]",
280
+ "value": "normal | none | [ [ <common-lig-values> || <discretionary-lig-values> || <historical-lig-values> || <contextual-alt-values> ] || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || [ stylistic(<feature-value-name>) || historical-forms || styleset(<feature-value-name>#) || character-variant(<feature-value-name>#) || swash(<feature-value-name>) || ornaments(<feature-value-name>) || annotation(<feature-value-name>) ] || [ <numeric-figure-values> || <numeric-spacing-values> || <numeric-fraction-values> || ordinal || slashed-zero ] || [ <east-asian-variant-values> || <east-asian-width-values> || ruby ] || [ sub | super ] || [ text | emoji | unicode ] ]",
281
281
  "initial": "normal",
282
282
  "appliesTo": "all elements and text",
283
283
  "inherited": "yes",
@@ -488,7 +488,7 @@
488
488
  {
489
489
  "name": "font-family",
490
490
  "for": "@font-palette-values",
491
- "value": "<'font-family'>",
491
+ "value": "<family-name>#",
492
492
  "initial": "N/A"
493
493
  },
494
494
  {
package/css-gcpm.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Generated Content for Paged Media Module",
4
- "url": "https://drafts.csswg.org/css-gcpm/"
4
+ "url": "https://drafts.csswg.org/css-gcpm-3/"
5
5
  },
6
6
  "properties": {
7
7
  "position": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Line Grid Module Level 1",
4
- "url": "https://drafts.csswg.org/css-line-grid/"
4
+ "url": "https://drafts.csswg.org/css-line-grid-1/"
5
5
  },
6
6
  "properties": {
7
7
  "line-grid": {
package/css-multicol.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Multi-column Layout Module Level 1",
4
- "url": "https://drafts.csswg.org/css-multicol/"
4
+ "url": "https://drafts.csswg.org/css-multicol-1/"
5
5
  },
6
6
  "properties": {
7
7
  "column-width": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Namespaces Module Level 3",
4
- "url": "https://drafts.csswg.org/css-namespaces/"
4
+ "url": "https://drafts.csswg.org/css-namespaces-3/"
5
5
  },
6
6
  "properties": {},
7
7
  "atrules": {
package/css-nesting.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Nesting Module",
4
- "url": "https://drafts.csswg.org/css-nesting/"
4
+ "url": "https://drafts.csswg.org/css-nesting-1/"
5
5
  },
6
6
  "properties": {},
7
7
  "atrules": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Page Floats",
4
- "url": "https://drafts.csswg.org/css-page-floats/"
4
+ "url": "https://drafts.csswg.org/css-page-floats-3/"
5
5
  },
6
6
  "properties": {
7
7
  "float-reference": {
package/css-regions.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Regions Module Level 1",
4
- "url": "https://drafts.csswg.org/css-regions/"
4
+ "url": "https://drafts.csswg.org/css-regions-1/"
5
5
  },
6
6
  "properties": {
7
7
  "flow-into": {
package/css-rhythm.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Rhythmic Sizing",
4
- "url": "https://drafts.csswg.org/css-rhythm/"
4
+ "url": "https://drafts.csswg.org/css-rhythm-1/"
5
5
  },
6
6
  "properties": {
7
7
  "block-step-size": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Round Display Level 1",
4
- "url": "https://drafts.csswg.org/css-round-display/"
4
+ "url": "https://drafts.csswg.org/css-round-display-1/"
5
5
  },
6
6
  "properties": {
7
7
  "border-boundary": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Scroll Anchoring Module Level 1",
4
- "url": "https://drafts.csswg.org/css-scroll-anchoring/"
4
+ "url": "https://drafts.csswg.org/css-scroll-anchoring-1/"
5
5
  },
6
6
  "properties": {
7
7
  "overflow-anchor": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Scrollbars Styling Module Level 1",
4
- "url": "https://drafts.csswg.org/css-scrollbars/"
4
+ "url": "https://drafts.csswg.org/css-scrollbars-1/"
5
5
  },
6
6
  "properties": {
7
7
  "scrollbar-color": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Shadow Parts",
4
- "url": "https://drafts.csswg.org/css-shadow-parts/"
4
+ "url": "https://drafts.csswg.org/css-shadow-parts-1/"
5
5
  },
6
6
  "properties": {},
7
7
  "atrules": {},
package/css-shapes.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Shapes Module Level 1",
4
- "url": "https://drafts.csswg.org/css-shapes/"
4
+ "url": "https://drafts.csswg.org/css-shapes-1/"
5
5
  },
6
6
  "properties": {
7
7
  "shape-outside": {
@@ -0,0 +1,29 @@
1
+ {
2
+ "spec": {
3
+ "title": "CSS Shared Element Transitions Module Level 1",
4
+ "url": "https://drafts.csswg.org/css-shared-element-transitions-1/"
5
+ },
6
+ "properties": {
7
+ "page-transition-tag": {
8
+ "name": "page-transition-tag",
9
+ "value": "none | <custom-ident>",
10
+ "initial": "none",
11
+ "appliesTo": "all elements",
12
+ "inherited": "no",
13
+ "percentages": "n/a",
14
+ "computedValue": "as specified",
15
+ "canonicalOrder": "per grammar",
16
+ "animationType": "discrete",
17
+ "styleDeclaration": [
18
+ "page-transition-tag",
19
+ "pageTransitionTag"
20
+ ]
21
+ }
22
+ },
23
+ "atrules": {},
24
+ "valuespaces": {
25
+ "<pt-tag-selector>": {
26
+ "value": "'*' | <custom-ident>"
27
+ }
28
+ }
29
+ }
package/css-syntax.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Syntax Module Level 3",
4
- "url": "https://drafts.csswg.org/css-syntax/"
4
+ "url": "https://drafts.csswg.org/css-syntax-3/"
5
5
  },
6
6
  "properties": {},
7
7
  "atrules": {},
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Transforms Module Level 1",
4
- "url": "https://drafts.csswg.org/css-transforms/"
4
+ "url": "https://drafts.csswg.org/css-transforms-1/"
5
5
  },
6
6
  "properties": {
7
7
  "transform": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Transitions",
4
- "url": "https://drafts.csswg.org/css-transitions/"
4
+ "url": "https://drafts.csswg.org/css-transitions-1/"
5
5
  },
6
6
  "properties": {
7
7
  "transition-property": {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Will Change Module Level 1",
4
- "url": "https://drafts.csswg.org/css-will-change/"
4
+ "url": "https://drafts.csswg.org/css-will-change-1/"
5
5
  },
6
6
  "properties": {
7
7
  "will-change": {
package/fill-stroke.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "CSS Fill and Stroke Module Level 3",
4
- "url": "https://drafts.fxtf.org/fill-stroke/"
4
+ "url": "https://drafts.fxtf.org/fill-stroke-3/"
5
5
  },
6
6
  "properties": {
7
7
  "fill-rule": {
@@ -102,31 +102,31 @@
102
102
  "value": "blur( <length>? )"
103
103
  },
104
104
  "<brightness()>": {
105
- "value": "brightness( <number-percentage>? )"
105
+ "value": "brightness( [ <number> | <percentage> ]? )"
106
106
  },
107
107
  "<contrast()>": {
108
- "value": "contrast( <number-percentage>? )"
108
+ "value": "contrast( [ <number> | <percentage> ]? )"
109
109
  },
110
110
  "<drop-shadow()>": {
111
111
  "value": "drop-shadow( [ <color>? && <length>{2,3} ] )"
112
112
  },
113
113
  "<grayscale()>": {
114
- "value": "grayscale( <number-percentage>? )"
114
+ "value": "grayscale( [ <number> | <percentage> ]? )"
115
115
  },
116
116
  "<hue-rotate()>": {
117
117
  "value": "hue-rotate( [ <angle> | <zero> ]? )"
118
118
  },
119
119
  "<invert()>": {
120
- "value": "invert( <number-percentage>? )"
120
+ "value": "invert( [ <number> | <percentage> ]? )"
121
121
  },
122
122
  "<opacity()>": {
123
- "value": "opacity( <number-percentage>? )"
123
+ "value": "opacity( [ <number> | <percentage> ]? )"
124
124
  },
125
125
  "<saturate()>": {
126
- "value": "saturate( <number-percentage>? )"
126
+ "value": "saturate( [ <number> | <percentage> ]? )"
127
127
  },
128
128
  "<sepia()>": {
129
- "value": "sepia( <number-percentage>? )"
129
+ "value": "sepia( [ <number> | <percentage> ]? )"
130
130
  },
131
131
  "<filter()>": {
132
132
  "value": "filter( [ <image> | <string> ], <filter-value-list> )"
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": "5.1.1",
4
+ "version": "5.2.0",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"
package/selectors.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "spec": {
3
3
  "title": "Selectors Level 4",
4
- "url": "https://drafts.csswg.org/selectors/"
4
+ "url": "https://drafts.csswg.org/selectors-4/"
5
5
  },
6
6
  "properties": {},
7
7
  "atrules": {},