@webref/css 6.23.17 → 6.23.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.
@@ -424,6 +424,12 @@
424
424
  "type": "value",
425
425
  "value": "play"
426
426
  },
427
+ {
428
+ "name": "play-once",
429
+ "href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-action-play-once",
430
+ "type": "value",
431
+ "value": "play-once"
432
+ },
427
433
  {
428
434
  "name": "play-forwards",
429
435
  "href": "https://drafts.csswg.org/css-animations-2/#valdef-animation-action-play-forwards",
package/css-borders.json CHANGED
@@ -1946,33 +1946,18 @@
1946
1946
  "borderLimit"
1947
1947
  ]
1948
1948
  },
1949
- {
1950
- "name": "border-clip",
1951
- "href": "https://drafts.csswg.org/css-borders-4/#propdef-border-clip",
1952
- "value": "normal | [ <length-percentage [0,∞]> | <flex> ]+",
1953
- "initial": "normal",
1954
- "appliesTo": "all elements",
1955
- "inherited": "no",
1956
- "percentages": "refer to length of border-edge side",
1957
- "computedValue": "normal, or a list consisting of absolute lengths, or percentages as specified",
1958
- "canonicalOrder": "per grammar",
1959
- "animationType": "by computed value",
1960
- "styleDeclaration": [
1961
- "border-clip",
1962
- "borderClip"
1963
- ]
1964
- },
1965
1949
  {
1966
1950
  "name": "border-top-clip",
1967
1951
  "href": "https://drafts.csswg.org/css-borders-4/#propdef-border-top-clip",
1968
- "value": "normal | [ <length-percentage [0,∞]> | <flex> ]+",
1969
- "initial": "normal",
1952
+ "value": "none | [ <length-percentage [0,∞]> | <flex> ]+",
1953
+ "initial": "none",
1970
1954
  "appliesTo": "all elements",
1971
1955
  "inherited": "no",
1972
1956
  "percentages": "refer to length of border-edge side",
1973
- "computedValue": "normal, or a list consisting of absolute lengths, or percentages as specified",
1957
+ "computedValue": "none, or a list consisting of absolute lengths, or percentages as specified",
1974
1958
  "canonicalOrder": "per grammar",
1975
1959
  "animationType": "by computed value",
1960
+ "logicalPropertyGroup": "border-clip",
1976
1961
  "styleDeclaration": [
1977
1962
  "border-top-clip",
1978
1963
  "borderTopClip"
@@ -1981,14 +1966,15 @@
1981
1966
  {
1982
1967
  "name": "border-right-clip",
1983
1968
  "href": "https://drafts.csswg.org/css-borders-4/#propdef-border-right-clip",
1984
- "value": "normal | [ <length-percentage [0,∞]> | <flex> ]+",
1985
- "initial": "normal",
1969
+ "value": "none | [ <length-percentage [0,∞]> | <flex> ]+",
1970
+ "initial": "none",
1986
1971
  "appliesTo": "all elements",
1987
1972
  "inherited": "no",
1988
1973
  "percentages": "refer to length of border-edge side",
1989
- "computedValue": "normal, or a list consisting of absolute lengths, or percentages as specified",
1974
+ "computedValue": "none, or a list consisting of absolute lengths, or percentages as specified",
1990
1975
  "canonicalOrder": "per grammar",
1991
1976
  "animationType": "by computed value",
1977
+ "logicalPropertyGroup": "border-clip",
1992
1978
  "styleDeclaration": [
1993
1979
  "border-right-clip",
1994
1980
  "borderRightClip"
@@ -1997,14 +1983,15 @@
1997
1983
  {
1998
1984
  "name": "border-bottom-clip",
1999
1985
  "href": "https://drafts.csswg.org/css-borders-4/#propdef-border-bottom-clip",
2000
- "value": "normal | [ <length-percentage [0,∞]> | <flex> ]+",
2001
- "initial": "normal",
1986
+ "value": "none | [ <length-percentage [0,∞]> | <flex> ]+",
1987
+ "initial": "none",
2002
1988
  "appliesTo": "all elements",
2003
1989
  "inherited": "no",
2004
1990
  "percentages": "refer to length of border-edge side",
2005
- "computedValue": "normal, or a list consisting of absolute lengths, or percentages as specified",
1991
+ "computedValue": "none, or a list consisting of absolute lengths, or percentages as specified",
2006
1992
  "canonicalOrder": "per grammar",
2007
1993
  "animationType": "by computed value",
1994
+ "logicalPropertyGroup": "border-clip",
2008
1995
  "styleDeclaration": [
2009
1996
  "border-bottom-clip",
2010
1997
  "borderBottomClip"
@@ -2013,14 +2000,15 @@
2013
2000
  {
2014
2001
  "name": "border-left-clip",
2015
2002
  "href": "https://drafts.csswg.org/css-borders-4/#propdef-border-left-clip",
2016
- "value": "normal | [ <length-percentage [0,∞]> | <flex> ]+",
2017
- "initial": "normal",
2003
+ "value": "none | [ <length-percentage [0,∞]> | <flex> ]+",
2004
+ "initial": "none",
2018
2005
  "appliesTo": "all elements",
2019
2006
  "inherited": "no",
2020
2007
  "percentages": "refer to length of border-edge side",
2021
- "computedValue": "normal, or a list consisting of absolute lengths, or percentages as specified",
2008
+ "computedValue": "none, or a list consisting of absolute lengths, or percentages as specified",
2022
2009
  "canonicalOrder": "per grammar",
2023
2010
  "animationType": "by computed value",
2011
+ "logicalPropertyGroup": "border-clip",
2024
2012
  "styleDeclaration": [
2025
2013
  "border-left-clip",
2026
2014
  "borderLeftClip"
@@ -2029,14 +2017,15 @@
2029
2017
  {
2030
2018
  "name": "border-block-start-clip",
2031
2019
  "href": "https://drafts.csswg.org/css-borders-4/#propdef-border-block-start-clip",
2032
- "value": "normal | [ <length-percentage [0,∞]> | <flex> ]+",
2033
- "initial": "normal",
2020
+ "value": "none | [ <length-percentage [0,∞]> | <flex> ]+",
2021
+ "initial": "none",
2034
2022
  "appliesTo": "all elements",
2035
2023
  "inherited": "no",
2036
2024
  "percentages": "refer to length of border-edge side",
2037
- "computedValue": "normal, or a list consisting of absolute lengths, or percentages as specified",
2025
+ "computedValue": "none, or a list consisting of absolute lengths, or percentages as specified",
2038
2026
  "canonicalOrder": "per grammar",
2039
2027
  "animationType": "by computed value",
2028
+ "logicalPropertyGroup": "border-clip",
2040
2029
  "styleDeclaration": [
2041
2030
  "border-block-start-clip",
2042
2031
  "borderBlockStartClip"
@@ -2045,14 +2034,15 @@
2045
2034
  {
2046
2035
  "name": "border-block-end-clip",
2047
2036
  "href": "https://drafts.csswg.org/css-borders-4/#propdef-border-block-end-clip",
2048
- "value": "normal | [ <length-percentage [0,∞]> | <flex> ]+",
2049
- "initial": "normal",
2037
+ "value": "none | [ <length-percentage [0,∞]> | <flex> ]+",
2038
+ "initial": "none",
2050
2039
  "appliesTo": "all elements",
2051
2040
  "inherited": "no",
2052
2041
  "percentages": "refer to length of border-edge side",
2053
- "computedValue": "normal, or a list consisting of absolute lengths, or percentages as specified",
2042
+ "computedValue": "none, or a list consisting of absolute lengths, or percentages as specified",
2054
2043
  "canonicalOrder": "per grammar",
2055
2044
  "animationType": "by computed value",
2045
+ "logicalPropertyGroup": "border-clip",
2056
2046
  "styleDeclaration": [
2057
2047
  "border-block-end-clip",
2058
2048
  "borderBlockEndClip"
@@ -2061,14 +2051,15 @@
2061
2051
  {
2062
2052
  "name": "border-inline-start-clip",
2063
2053
  "href": "https://drafts.csswg.org/css-borders-4/#propdef-border-inline-start-clip",
2064
- "value": "normal | [ <length-percentage [0,∞]> | <flex> ]+",
2065
- "initial": "normal",
2054
+ "value": "none | [ <length-percentage [0,∞]> | <flex> ]+",
2055
+ "initial": "none",
2066
2056
  "appliesTo": "all elements",
2067
2057
  "inherited": "no",
2068
2058
  "percentages": "refer to length of border-edge side",
2069
- "computedValue": "normal, or a list consisting of absolute lengths, or percentages as specified",
2059
+ "computedValue": "none, or a list consisting of absolute lengths, or percentages as specified",
2070
2060
  "canonicalOrder": "per grammar",
2071
2061
  "animationType": "by computed value",
2062
+ "logicalPropertyGroup": "border-clip",
2072
2063
  "styleDeclaration": [
2073
2064
  "border-inline-start-clip",
2074
2065
  "borderInlineStartClip"
@@ -2077,19 +2068,68 @@
2077
2068
  {
2078
2069
  "name": "border-inline-end-clip",
2079
2070
  "href": "https://drafts.csswg.org/css-borders-4/#propdef-border-inline-end-clip",
2080
- "value": "normal | [ <length-percentage [0,∞]> | <flex> ]+",
2081
- "initial": "normal",
2071
+ "value": "none | [ <length-percentage [0,∞]> | <flex> ]+",
2072
+ "initial": "none",
2082
2073
  "appliesTo": "all elements",
2083
2074
  "inherited": "no",
2084
2075
  "percentages": "refer to length of border-edge side",
2085
- "computedValue": "normal, or a list consisting of absolute lengths, or percentages as specified",
2076
+ "computedValue": "none, or a list consisting of absolute lengths, or percentages as specified",
2086
2077
  "canonicalOrder": "per grammar",
2087
2078
  "animationType": "by computed value",
2079
+ "logicalPropertyGroup": "border-clip",
2088
2080
  "styleDeclaration": [
2089
2081
  "border-inline-end-clip",
2090
2082
  "borderInlineEndClip"
2091
2083
  ]
2092
2084
  },
2085
+ {
2086
+ "name": "border-block-clip",
2087
+ "href": "https://drafts.csswg.org/css-borders-4/#propdef-border-block-clip",
2088
+ "value": "<'border-top-clip'>",
2089
+ "initial": "see individual properties",
2090
+ "appliesTo": "see individual properties",
2091
+ "inherited": "see individual properties",
2092
+ "percentages": "see individual properties",
2093
+ "computedValue": "see individual properties",
2094
+ "animationType": "see individual properties",
2095
+ "canonicalOrder": "per grammar",
2096
+ "styleDeclaration": [
2097
+ "border-block-clip",
2098
+ "borderBlockClip"
2099
+ ]
2100
+ },
2101
+ {
2102
+ "name": "border-inline-clip",
2103
+ "href": "https://drafts.csswg.org/css-borders-4/#propdef-border-inline-clip",
2104
+ "value": "<'border-top-clip'>",
2105
+ "initial": "see individual properties",
2106
+ "appliesTo": "see individual properties",
2107
+ "inherited": "see individual properties",
2108
+ "percentages": "see individual properties",
2109
+ "computedValue": "see individual properties",
2110
+ "animationType": "see individual properties",
2111
+ "canonicalOrder": "per grammar",
2112
+ "styleDeclaration": [
2113
+ "border-inline-clip",
2114
+ "borderInlineClip"
2115
+ ]
2116
+ },
2117
+ {
2118
+ "name": "border-clip",
2119
+ "href": "https://drafts.csswg.org/css-borders-4/#propdef-border-clip",
2120
+ "value": "<'border-top-clip'>",
2121
+ "initial": "see individual properties",
2122
+ "appliesTo": "see individual properties",
2123
+ "inherited": "see individual properties",
2124
+ "percentages": "see individual properties",
2125
+ "computedValue": "see individual properties",
2126
+ "animationType": "see individual properties",
2127
+ "canonicalOrder": "per grammar",
2128
+ "styleDeclaration": [
2129
+ "border-clip",
2130
+ "borderClip"
2131
+ ]
2132
+ },
2093
2133
  {
2094
2134
  "name": "box-shadow-color",
2095
2135
  "href": "https://drafts.csswg.org/css-borders-4/#propdef-box-shadow-color",
@@ -2109,7 +2149,7 @@
2109
2149
  {
2110
2150
  "name": "box-shadow-offset",
2111
2151
  "href": "https://drafts.csswg.org/css-borders-4/#propdef-box-shadow-offset",
2112
- "value": "[ none | <length>{2} ]#",
2152
+ "value": "[ none | <length>{1,2} ]#",
2113
2153
  "initial": "none",
2114
2154
  "appliesTo": "all elements",
2115
2155
  "inherited": "no",
@@ -2127,7 +2167,7 @@
2127
2167
  },
2128
2168
  {
2129
2169
  "name": "1st <length>",
2130
- "prose": "Specifies the horizontal offset of the shadow. A positive value draws a shadow that is offset to the right of the box, a negative length to the left.",
2170
+ "prose": "Specifies the horizontal offset of the shadow. A positive value draws a shadow that is offset to the right of the box, a negative length to the left. If only one <length> value is specified, it sets both the horizontal and vertical offsets to that value.",
2131
2171
  "href": "https://drafts.csswg.org/css-borders-4/#shadow-offset-x",
2132
2172
  "type": "value",
2133
2173
  "value": "1st <length>"
@@ -2452,7 +2492,7 @@
2452
2492
  },
2453
2493
  {
2454
2494
  "name": "superellipse()",
2455
- "value": "superellipse(<number [-∞,∞]> | infinity | -infinity)",
2495
+ "value": "superellipse(<number> | infinity | -infinity)",
2456
2496
  "href": "https://drafts.csswg.org/css-borders-4/#funcdef-superellipse",
2457
2497
  "type": "function"
2458
2498
  },
@@ -2460,7 +2500,7 @@
2460
2500
  "name": "<spread-shadow>",
2461
2501
  "href": "https://drafts.csswg.org/css-borders-4/#typedef-spread-shadow",
2462
2502
  "type": "type",
2463
- "value": "<'box-shadow-color'>? && [ <'box-shadow-offset'> [ <'box-shadow-blur'> <'box-shadow-spread'>? ]? ] && <'box-shadow-position'>?"
2503
+ "value": "<'box-shadow-color'>? && [ [ none | <length>{2} ] [ <'box-shadow-blur'> <'box-shadow-spread'>? ]? ] && <'box-shadow-position'>?"
2464
2504
  }
2465
2505
  ]
2466
2506
  }
@@ -646,13 +646,13 @@
646
646
  },
647
647
  {
648
648
  "name": "<style-feature-name>",
649
- "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 either the same as for a valid declaration[CSS-SYNTAX-3], a <style-feature-name> or a valid style range(<style-range>). The <style-feature-name> can be either a supported CSS property or a valid <custom-property-name>. The <style-feature-value> production matches any valid <declaration-value> as long as it doesn’t contain <mf-lt>, <mf-gt> and <mf-eq> tokens.",
649
+ "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 either the same as for a valid declaration[CSS-SYNTAX-3], a <style-feature-name> or a valid style range (<style-range>). The <style-feature-name> can be either a supported CSS property or a valid <custom-property-name>. The <style-feature-value> production matches any valid <declaration-value> as long as it doesn’t contain <mf-lt>, <mf-gt> and <mf-eq> tokens.",
650
650
  "href": "https://drafts.csswg.org/css-conditional-5/#typedef-style-feature-name",
651
651
  "type": "type"
652
652
  },
653
653
  {
654
654
  "name": "<style-feature-value>",
655
- "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 either the same as for a valid declaration[CSS-SYNTAX-3], a <style-feature-name> or a valid style range(<style-range>). The <style-feature-name> can be either a supported CSS property or a valid <custom-property-name>. The <style-feature-value> production matches any valid <declaration-value> as long as it doesn’t contain <mf-lt>, <mf-gt> and <mf-eq> tokens.",
655
+ "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 either the same as for a valid declaration[CSS-SYNTAX-3], a <style-feature-name> or a valid style range (<style-range>). The <style-feature-name> can be either a supported CSS property or a valid <custom-property-name>. The <style-feature-value> production matches any valid <declaration-value> as long as it doesn’t contain <mf-lt>, <mf-gt> and <mf-eq> tokens.",
656
656
  "href": "https://drafts.csswg.org/css-conditional-5/#typedef-style-feature-value",
657
657
  "type": "type"
658
658
  },
@@ -0,0 +1,173 @@
1
+ {
2
+ "spec": {
3
+ "title": "CSS Route Matching",
4
+ "url": "https://drafts.csswg.org/css-navigation-1/"
5
+ },
6
+ "properties": [],
7
+ "atrules": [
8
+ {
9
+ "name": "@route",
10
+ "prose": "The @route rule is an at-rule that associates a name with a URL pattern. This name can be referenced in @navigation rules and in :link-to() pseudo-classes.",
11
+ "href": "https://drafts.csswg.org/css-navigation-1/#at-ruledef-route",
12
+ "descriptors": [],
13
+ "value": "@route <dashed-ident> { [ <pattern-descriptors> | <init-descriptors> ] }"
14
+ },
15
+ {
16
+ "name": "@navigation",
17
+ "prose": "The @navigation rule is a conditional group rule whose condition tests characteristics of the current URL or of the state of navigation between two URLs. These queries are called navigation queries.",
18
+ "href": "https://drafts.csswg.org/css-navigation-1/#at-ruledef-navigation",
19
+ "descriptors": [],
20
+ "value": "@navigation <navigation-condition> { <rule-list> }"
21
+ }
22
+ ],
23
+ "selectors": [
24
+ {
25
+ "name": ":link-to()",
26
+ "prose": "This specification defines a new :link-to() functional pseudo-class that matches link elements that link to a certain URL.",
27
+ "href": "https://drafts.csswg.org/css-navigation-1/#link-to-pseudo"
28
+ }
29
+ ],
30
+ "values": [
31
+ {
32
+ "name": "<pattern-descriptors>",
33
+ "href": "https://drafts.csswg.org/css-navigation-1/#typedef-pattern-descriptors",
34
+ "type": "type",
35
+ "value": ";* <pattern-descriptor> ;*"
36
+ },
37
+ {
38
+ "name": "<pattern-descriptor>",
39
+ "href": "https://drafts.csswg.org/css-navigation-1/#typedef-pattern-descriptor",
40
+ "type": "type",
41
+ "value": "pattern : <url-pattern()>"
42
+ },
43
+ {
44
+ "name": "<init-descriptors>",
45
+ "href": "https://drafts.csswg.org/css-navigation-1/#typedef-init-descriptors",
46
+ "type": "type",
47
+ "value": ";* <init-descriptor> [ ;+ <init-descriptor> ]* ;*"
48
+ },
49
+ {
50
+ "name": "<init-descriptor>",
51
+ "href": "https://drafts.csswg.org/css-navigation-1/#typedef-init-descriptor",
52
+ "type": "type",
53
+ "value": "<init-descriptor-name> : <string>"
54
+ },
55
+ {
56
+ "name": "<init-descriptor-name>",
57
+ "href": "https://drafts.csswg.org/css-navigation-1/#typedef-init-descriptor-name",
58
+ "type": "type",
59
+ "value": "protocol | username | password | hostname | port pathname | search | hash | base-url"
60
+ },
61
+ {
62
+ "name": "<navigation-condition>",
63
+ "href": "https://drafts.csswg.org/css-navigation-1/#typedef-navigation-condition",
64
+ "type": "type",
65
+ "value": "not <navigation-in-parens> | <navigation-in-parens> [ and <navigation-in-parens> ]* | <navigation-in-parens> [ or <navigation-in-parens> ]*"
66
+ },
67
+ {
68
+ "name": "<navigation-in-parens>",
69
+ "href": "https://drafts.csswg.org/css-navigation-1/#typedef-navigation-in-parens",
70
+ "type": "type",
71
+ "value": "( <navigation-condition> ) | ( <navigation-test> ) | <general-enclosed>"
72
+ },
73
+ {
74
+ "name": "<navigation-test>",
75
+ "href": "https://drafts.csswg.org/css-navigation-1/#typedef-navigation-test",
76
+ "type": "type",
77
+ "value": "<navigation-location> | <navigation-keyword> : <navigation-location>"
78
+ },
79
+ {
80
+ "name": "<navigation-keyword>",
81
+ "href": "https://drafts.csswg.org/css-navigation-1/#typedef-navigation-keyword",
82
+ "type": "type",
83
+ "value": "at | from | to"
84
+ },
85
+ {
86
+ "name": "<navigation-location>",
87
+ "href": "https://drafts.csswg.org/css-navigation-1/#typedef-navigation-location",
88
+ "type": "type",
89
+ "value": "<route-name> | <url-pattern()>"
90
+ },
91
+ {
92
+ "name": "<route-name>",
93
+ "href": "https://drafts.csswg.org/css-navigation-1/#typedef-route-name",
94
+ "type": "type",
95
+ "value": "<dashed-ident>"
96
+ },
97
+ {
98
+ "name": "<link-condition>",
99
+ "href": "https://drafts.csswg.org/css-navigation-1/#typedef-link-condition",
100
+ "type": "type",
101
+ "value": "<link-condition-base> [ with <navigation-param-expression> ]?"
102
+ },
103
+ {
104
+ "name": "<link-condition-base>",
105
+ "href": "https://drafts.csswg.org/css-navigation-1/#typedef-link-condition-base",
106
+ "type": "type",
107
+ "value": "<navigation-location>"
108
+ },
109
+ {
110
+ "name": "<navigation-param-expression>",
111
+ "href": "https://drafts.csswg.org/css-navigation-1/#typedef-navigation-param-expression",
112
+ "type": "type",
113
+ "value": "( <navigation-param-and> ) | ( <navigation-param-or> ) | <navigation-param>"
114
+ },
115
+ {
116
+ "name": "<navigation-param-and>",
117
+ "href": "https://drafts.csswg.org/css-navigation-1/#typedef-navigation-param-and",
118
+ "type": "type",
119
+ "value": "<navigation-param-expression> [ \"and\" <navigation-param-expression> ]*"
120
+ },
121
+ {
122
+ "name": "<navigation-param-or>",
123
+ "href": "https://drafts.csswg.org/css-navigation-1/#typedef-navigation-param-or",
124
+ "type": "type",
125
+ "value": "<navigation-param-expression> [ \"or\" <navigation-param-expression> ]*"
126
+ },
127
+ {
128
+ "name": "<navigation-param>",
129
+ "href": "https://drafts.csswg.org/css-navigation-1/#typedef-navigation-param",
130
+ "type": "type",
131
+ "value": "<navigation-param-key-value> | <navigation-param-function>"
132
+ },
133
+ {
134
+ "name": "<navigation-param-key-value>",
135
+ "href": "https://drafts.csswg.org/css-navigation-1/#typedef-navigation-param-key-value",
136
+ "type": "type",
137
+ "value": "( <ident> : <string> )"
138
+ },
139
+ {
140
+ "name": "<navigation-param-function>",
141
+ "href": "https://drafts.csswg.org/css-navigation-1/#typedef-navigation-param-function",
142
+ "type": "type",
143
+ "value": "navigation-param( <ident> )"
144
+ },
145
+ {
146
+ "name": "url-pattern()",
147
+ "prose": "The url-pattern() function represents a URL pattern, which can be used to match URLs.",
148
+ "href": "https://drafts.csswg.org/css-navigation-1/#funcdef-url-pattern",
149
+ "type": "function",
150
+ "value": "url-pattern( <string> )"
151
+ }
152
+ ],
153
+ "warnings": [
154
+ {
155
+ "msg": "Dangling value",
156
+ "name": "navigation()",
157
+ "value": "navigation( <navigation-condition> )",
158
+ "pureSyntax": false,
159
+ "href": "https://drafts.csswg.org/css-navigation-1/#funcdef-when-navigation",
160
+ "type": "function",
161
+ "for": "@when"
162
+ },
163
+ {
164
+ "msg": "Dangling value",
165
+ "name": "navigation()",
166
+ "value": "navigation( <navigation-condition> )",
167
+ "pureSyntax": false,
168
+ "href": "https://drafts.csswg.org/css-navigation-1/#funcdef-if-navigation",
169
+ "type": "function",
170
+ "for": "if()"
171
+ }
172
+ ]
173
+ }
package/css-sizing-4.json CHANGED
@@ -230,7 +230,7 @@
230
230
  {
231
231
  "name": "contain-intrinsic-width",
232
232
  "href": "https://drafts.csswg.org/css-sizing-4/#propdef-contain-intrinsic-width",
233
- "value": "auto? [ none | <length [0,∞]> ]",
233
+ "value": "[ auto | from-element ]? [ none | <length [0,∞]> ]",
234
234
  "initial": "none",
235
235
  "appliesTo": "elements with size containment",
236
236
  "inherited": "no",
@@ -240,19 +240,33 @@
240
240
  "animationType": "by computed value type",
241
241
  "logicalPropertyGroup": "contain-intrinsic-size",
242
242
  "values": [
243
+ {
244
+ "name": "none",
245
+ "prose": "If no other contain-intrinsic-size value (such as auto) is providing an explicit intrinsic inner size, the corresponding axis either doesn’t have an explicit intrinsic inner size (if none is specified) or has an explicit intrinsic inner size of the specified <length>.",
246
+ "href": "https://drafts.csswg.org/css-sizing-4/#valdef-contain-intrinsic-width-none",
247
+ "type": "value",
248
+ "value": "none"
249
+ },
250
+ {
251
+ "name": "<length>",
252
+ "prose": "If no other contain-intrinsic-size value (such as auto) is providing an explicit intrinsic inner size, the corresponding axis either doesn’t have an explicit intrinsic inner size (if none is specified) or has an explicit intrinsic inner size of the specified <length>.",
253
+ "href": "https://drafts.csswg.org/css-sizing-4/#valdef-contain-intrinsic-width-length",
254
+ "type": "value",
255
+ "value": "<length>"
256
+ },
243
257
  {
244
258
  "name": "auto",
245
- "prose": "If auto is specified and the element has a last remembered size and is currently skipping its contents, its explicit intrinsic inner size in the corresponding axis is the last remembered size in that axis. Otherwise, the corresponding axis either doesn’t have an explicit intrinsic inner size (if none is specified) or has an explicit intrinsic inner size of the specified <length>.",
259
+ "prose": "If auto is specified and the element has a last remembered size and is currently skipping its contents, its explicit intrinsic inner size in the corresponding axis is the last remembered size in that axis.",
246
260
  "href": "https://drafts.csswg.org/css-sizing-4/#valdef-contain-intrinsic-width-auto",
247
261
  "type": "value",
248
262
  "value": "auto"
249
263
  },
250
264
  {
251
- "name": "none",
252
- "prose": "If auto is specified and the element has a last remembered size and is currently skipping its contents, its explicit intrinsic inner size in the corresponding axis is the last remembered size in that axis. Otherwise, the corresponding axis either doesn’t have an explicit intrinsic inner size (if none is specified) or has an explicit intrinsic inner size of the specified <length>.",
253
- "href": "https://drafts.csswg.org/css-sizing-4/#valdef-contain-intrinsic-width-none",
265
+ "name": "from-element",
266
+ "prose": "If from-element is specified and the element is a replaced element with an internal layout intrinsic size, its explicit intrinsic inner size in the corresponding axis is that size. Should this apply even when contain:layout isn’t specified? The name needs further discussion.",
267
+ "href": "https://drafts.csswg.org/css-sizing-4/#valdef-contain-intrinsic-width-from-element",
254
268
  "type": "value",
255
- "value": "none"
269
+ "value": "from-element"
256
270
  }
257
271
  ],
258
272
  "styleDeclaration": [
@@ -263,7 +277,7 @@
263
277
  {
264
278
  "name": "contain-intrinsic-height",
265
279
  "href": "https://drafts.csswg.org/css-sizing-4/#propdef-contain-intrinsic-height",
266
- "value": "auto? [ none | <length [0,∞]> ]",
280
+ "value": "[ auto | from-element ]? [ none | <length [0,∞]> ]",
267
281
  "initial": "none",
268
282
  "appliesTo": "elements with size containment",
269
283
  "inherited": "no",
@@ -273,19 +287,33 @@
273
287
  "animationType": "by computed value type",
274
288
  "logicalPropertyGroup": "contain-intrinsic-size",
275
289
  "values": [
290
+ {
291
+ "name": "none",
292
+ "prose": "If no other contain-intrinsic-size value (such as auto) is providing an explicit intrinsic inner size, the corresponding axis either doesn’t have an explicit intrinsic inner size (if none is specified) or has an explicit intrinsic inner size of the specified <length>.",
293
+ "href": "https://drafts.csswg.org/css-sizing-4/#valdef-contain-intrinsic-width-none",
294
+ "type": "value",
295
+ "value": "none"
296
+ },
297
+ {
298
+ "name": "<length>",
299
+ "prose": "If no other contain-intrinsic-size value (such as auto) is providing an explicit intrinsic inner size, the corresponding axis either doesn’t have an explicit intrinsic inner size (if none is specified) or has an explicit intrinsic inner size of the specified <length>.",
300
+ "href": "https://drafts.csswg.org/css-sizing-4/#valdef-contain-intrinsic-width-length",
301
+ "type": "value",
302
+ "value": "<length>"
303
+ },
276
304
  {
277
305
  "name": "auto",
278
- "prose": "If auto is specified and the element has a last remembered size and is currently skipping its contents, its explicit intrinsic inner size in the corresponding axis is the last remembered size in that axis. Otherwise, the corresponding axis either doesn’t have an explicit intrinsic inner size (if none is specified) or has an explicit intrinsic inner size of the specified <length>.",
306
+ "prose": "If auto is specified and the element has a last remembered size and is currently skipping its contents, its explicit intrinsic inner size in the corresponding axis is the last remembered size in that axis.",
279
307
  "href": "https://drafts.csswg.org/css-sizing-4/#valdef-contain-intrinsic-width-auto",
280
308
  "type": "value",
281
309
  "value": "auto"
282
310
  },
283
311
  {
284
- "name": "none",
285
- "prose": "If auto is specified and the element has a last remembered size and is currently skipping its contents, its explicit intrinsic inner size in the corresponding axis is the last remembered size in that axis. Otherwise, the corresponding axis either doesn’t have an explicit intrinsic inner size (if none is specified) or has an explicit intrinsic inner size of the specified <length>.",
286
- "href": "https://drafts.csswg.org/css-sizing-4/#valdef-contain-intrinsic-width-none",
312
+ "name": "from-element",
313
+ "prose": "If from-element is specified and the element is a replaced element with an internal layout intrinsic size, its explicit intrinsic inner size in the corresponding axis is that size. Should this apply even when contain:layout isn’t specified? The name needs further discussion.",
314
+ "href": "https://drafts.csswg.org/css-sizing-4/#valdef-contain-intrinsic-width-from-element",
287
315
  "type": "value",
288
- "value": "none"
316
+ "value": "from-element"
289
317
  }
290
318
  ],
291
319
  "styleDeclaration": [
@@ -296,7 +324,7 @@
296
324
  {
297
325
  "name": "contain-intrinsic-block-size",
298
326
  "href": "https://drafts.csswg.org/css-sizing-4/#propdef-contain-intrinsic-block-size",
299
- "value": "auto? [ none | <length [0,∞]> ]",
327
+ "value": "[ auto | from-element ]? [ none | <length [0,∞]> ]",
300
328
  "initial": "none",
301
329
  "appliesTo": "elements with size containment",
302
330
  "inherited": "no",
@@ -306,19 +334,33 @@
306
334
  "animationType": "by computed value type",
307
335
  "logicalPropertyGroup": "contain-intrinsic-size",
308
336
  "values": [
337
+ {
338
+ "name": "none",
339
+ "prose": "If no other contain-intrinsic-size value (such as auto) is providing an explicit intrinsic inner size, the corresponding axis either doesn’t have an explicit intrinsic inner size (if none is specified) or has an explicit intrinsic inner size of the specified <length>.",
340
+ "href": "https://drafts.csswg.org/css-sizing-4/#valdef-contain-intrinsic-width-none",
341
+ "type": "value",
342
+ "value": "none"
343
+ },
344
+ {
345
+ "name": "<length>",
346
+ "prose": "If no other contain-intrinsic-size value (such as auto) is providing an explicit intrinsic inner size, the corresponding axis either doesn’t have an explicit intrinsic inner size (if none is specified) or has an explicit intrinsic inner size of the specified <length>.",
347
+ "href": "https://drafts.csswg.org/css-sizing-4/#valdef-contain-intrinsic-width-length",
348
+ "type": "value",
349
+ "value": "<length>"
350
+ },
309
351
  {
310
352
  "name": "auto",
311
- "prose": "If auto is specified and the element has a last remembered size and is currently skipping its contents, its explicit intrinsic inner size in the corresponding axis is the last remembered size in that axis. Otherwise, the corresponding axis either doesn’t have an explicit intrinsic inner size (if none is specified) or has an explicit intrinsic inner size of the specified <length>.",
353
+ "prose": "If auto is specified and the element has a last remembered size and is currently skipping its contents, its explicit intrinsic inner size in the corresponding axis is the last remembered size in that axis.",
312
354
  "href": "https://drafts.csswg.org/css-sizing-4/#valdef-contain-intrinsic-width-auto",
313
355
  "type": "value",
314
356
  "value": "auto"
315
357
  },
316
358
  {
317
- "name": "none",
318
- "prose": "If auto is specified and the element has a last remembered size and is currently skipping its contents, its explicit intrinsic inner size in the corresponding axis is the last remembered size in that axis. Otherwise, the corresponding axis either doesn’t have an explicit intrinsic inner size (if none is specified) or has an explicit intrinsic inner size of the specified <length>.",
319
- "href": "https://drafts.csswg.org/css-sizing-4/#valdef-contain-intrinsic-width-none",
359
+ "name": "from-element",
360
+ "prose": "If from-element is specified and the element is a replaced element with an internal layout intrinsic size, its explicit intrinsic inner size in the corresponding axis is that size. Should this apply even when contain:layout isn’t specified? The name needs further discussion.",
361
+ "href": "https://drafts.csswg.org/css-sizing-4/#valdef-contain-intrinsic-width-from-element",
320
362
  "type": "value",
321
- "value": "none"
363
+ "value": "from-element"
322
364
  }
323
365
  ],
324
366
  "styleDeclaration": [
@@ -329,7 +371,7 @@
329
371
  {
330
372
  "name": "contain-intrinsic-inline-size",
331
373
  "href": "https://drafts.csswg.org/css-sizing-4/#propdef-contain-intrinsic-inline-size",
332
- "value": "auto? [ none | <length [0,∞]> ]",
374
+ "value": "[ auto | from-element ]? [ none | <length [0,∞]> ]",
333
375
  "initial": "none",
334
376
  "appliesTo": "elements with size containment",
335
377
  "inherited": "no",
@@ -339,19 +381,33 @@
339
381
  "animationType": "by computed value type",
340
382
  "logicalPropertyGroup": "contain-intrinsic-size",
341
383
  "values": [
384
+ {
385
+ "name": "none",
386
+ "prose": "If no other contain-intrinsic-size value (such as auto) is providing an explicit intrinsic inner size, the corresponding axis either doesn’t have an explicit intrinsic inner size (if none is specified) or has an explicit intrinsic inner size of the specified <length>.",
387
+ "href": "https://drafts.csswg.org/css-sizing-4/#valdef-contain-intrinsic-width-none",
388
+ "type": "value",
389
+ "value": "none"
390
+ },
391
+ {
392
+ "name": "<length>",
393
+ "prose": "If no other contain-intrinsic-size value (such as auto) is providing an explicit intrinsic inner size, the corresponding axis either doesn’t have an explicit intrinsic inner size (if none is specified) or has an explicit intrinsic inner size of the specified <length>.",
394
+ "href": "https://drafts.csswg.org/css-sizing-4/#valdef-contain-intrinsic-width-length",
395
+ "type": "value",
396
+ "value": "<length>"
397
+ },
342
398
  {
343
399
  "name": "auto",
344
- "prose": "If auto is specified and the element has a last remembered size and is currently skipping its contents, its explicit intrinsic inner size in the corresponding axis is the last remembered size in that axis. Otherwise, the corresponding axis either doesn’t have an explicit intrinsic inner size (if none is specified) or has an explicit intrinsic inner size of the specified <length>.",
400
+ "prose": "If auto is specified and the element has a last remembered size and is currently skipping its contents, its explicit intrinsic inner size in the corresponding axis is the last remembered size in that axis.",
345
401
  "href": "https://drafts.csswg.org/css-sizing-4/#valdef-contain-intrinsic-width-auto",
346
402
  "type": "value",
347
403
  "value": "auto"
348
404
  },
349
405
  {
350
- "name": "none",
351
- "prose": "If auto is specified and the element has a last remembered size and is currently skipping its contents, its explicit intrinsic inner size in the corresponding axis is the last remembered size in that axis. Otherwise, the corresponding axis either doesn’t have an explicit intrinsic inner size (if none is specified) or has an explicit intrinsic inner size of the specified <length>.",
352
- "href": "https://drafts.csswg.org/css-sizing-4/#valdef-contain-intrinsic-width-none",
406
+ "name": "from-element",
407
+ "prose": "If from-element is specified and the element is a replaced element with an internal layout intrinsic size, its explicit intrinsic inner size in the corresponding axis is that size. Should this apply even when contain:layout isn’t specified? The name needs further discussion.",
408
+ "href": "https://drafts.csswg.org/css-sizing-4/#valdef-contain-intrinsic-width-from-element",
353
409
  "type": "value",
354
- "value": "none"
410
+ "value": "from-element"
355
411
  }
356
412
  ],
357
413
  "styleDeclaration": [
@@ -362,7 +418,7 @@
362
418
  {
363
419
  "name": "contain-intrinsic-size",
364
420
  "href": "https://drafts.csswg.org/css-sizing-4/#propdef-contain-intrinsic-size",
365
- "value": "[ auto? [ none | <length> ] ]{1,2}",
421
+ "value": "[ [ auto | from-element ]? [ none | <length [0,∞]> ] ]{1,2}",
366
422
  "initial": "see individual properties",
367
423
  "appliesTo": "see individual properties",
368
424
  "inherited": "see individual properties",
@@ -371,19 +427,33 @@
371
427
  "animationType": "see individual properties",
372
428
  "canonicalOrder": "per grammar",
373
429
  "values": [
430
+ {
431
+ "name": "none",
432
+ "prose": "If no other contain-intrinsic-size value (such as auto) is providing an explicit intrinsic inner size, the corresponding axis either doesn’t have an explicit intrinsic inner size (if none is specified) or has an explicit intrinsic inner size of the specified <length>.",
433
+ "href": "https://drafts.csswg.org/css-sizing-4/#valdef-contain-intrinsic-width-none",
434
+ "type": "value",
435
+ "value": "none"
436
+ },
437
+ {
438
+ "name": "<length>",
439
+ "prose": "If no other contain-intrinsic-size value (such as auto) is providing an explicit intrinsic inner size, the corresponding axis either doesn’t have an explicit intrinsic inner size (if none is specified) or has an explicit intrinsic inner size of the specified <length>.",
440
+ "href": "https://drafts.csswg.org/css-sizing-4/#valdef-contain-intrinsic-width-length",
441
+ "type": "value",
442
+ "value": "<length>"
443
+ },
374
444
  {
375
445
  "name": "auto",
376
- "prose": "If auto is specified and the element has a last remembered size and is currently skipping its contents, its explicit intrinsic inner size in the corresponding axis is the last remembered size in that axis. Otherwise, the corresponding axis either doesn’t have an explicit intrinsic inner size (if none is specified) or has an explicit intrinsic inner size of the specified <length>.",
446
+ "prose": "If auto is specified and the element has a last remembered size and is currently skipping its contents, its explicit intrinsic inner size in the corresponding axis is the last remembered size in that axis.",
377
447
  "href": "https://drafts.csswg.org/css-sizing-4/#valdef-contain-intrinsic-width-auto",
378
448
  "type": "value",
379
449
  "value": "auto"
380
450
  },
381
451
  {
382
- "name": "none",
383
- "prose": "If auto is specified and the element has a last remembered size and is currently skipping its contents, its explicit intrinsic inner size in the corresponding axis is the last remembered size in that axis. Otherwise, the corresponding axis either doesn’t have an explicit intrinsic inner size (if none is specified) or has an explicit intrinsic inner size of the specified <length>.",
384
- "href": "https://drafts.csswg.org/css-sizing-4/#valdef-contain-intrinsic-width-none",
452
+ "name": "from-element",
453
+ "prose": "If from-element is specified and the element is a replaced element with an internal layout intrinsic size, its explicit intrinsic inner size in the corresponding axis is that size. Should this apply even when contain:layout isn’t specified? The name needs further discussion.",
454
+ "href": "https://drafts.csswg.org/css-sizing-4/#valdef-contain-intrinsic-width-from-element",
385
455
  "type": "value",
386
- "value": "none"
456
+ "value": "from-element"
387
457
  }
388
458
  ],
389
459
  "styleDeclaration": [
@@ -182,7 +182,7 @@
182
182
  },
183
183
  {
184
184
  "name": "view-box",
185
- "prose": "Uses the nearest SVG viewport as reference box. If a viewBox attribute is specified for the SVG viewport creating element: The reference box is positioned at the origin of the coordinate system established by the viewBox attribute. The dimension of the reference box is set to the width and height values of the viewBox attribute.",
185
+ "prose": "Uses the nearest SVG viewport as reference box.",
186
186
  "href": "https://drafts.csswg.org/css-transforms-1/#valdef-transform-box-view-box",
187
187
  "type": "value",
188
188
  "value": "view-box"
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.23.17",
4
+ "version": "6.23.19",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/w3c/webref.git"