@@ -35,7 +35,6 @@ Repository: w3c/css-houdini-drafts
35
35
36
36
<pre class='link-defaults'>
37
37
spec:css-transforms-1; type:type; text:<transform-function>
38
- spec:css-conditional-3; type:method; text:supports(property, value)
39
38
spec:cssom-1; type:interface; text:CSS
40
39
</pre>
41
40
@@ -91,7 +90,7 @@ following members:
91
90
:: True if this custom property should inherit down the DOM tree; False otherwise.
92
91
93
92
: <dfn dict-member for=PropertyDescriptor>initialValue</dfn>
94
- :: The initial value of this custom property.
93
+ :: The initial value of this custom property.
95
94
96
95
The {{registerProperty()}} function {#the-registerproperty-function}
97
96
--------------------------------------------------------------------
@@ -120,19 +119,19 @@ not parseable using the provided {{PropertyDescriptor/syntax}} must cause it to
120
119
throw a {{SyntaxError}} . If no {{PropertyDescriptor/initialValue}} is provided and the
121
120
{{PropertyDescriptor/syntax}} is '*' , then a special initial value used. This initial
122
121
value must be considered parseable by {{registerProperty()}} but invalid at computed
123
- value time. Initial values that are not computationally idempotent must also cause
122
+ value time. Initial values that are not computationally idempotent must also cause
124
123
{{registerProperty()}} to throw a {{SyntaxError}} .
125
124
126
125
<div class='example'>
127
126
For example, "3cm" is a computationally idempotent length, and hence valid as an initial value.
128
127
However, "3em" is not (depending on the environment, 3em could compute to
129
- multiple different values). Additionally, "var(--foo)" is not computationally idempotent.
128
+ multiple different values). Additionally, "var(--foo)" is not computationally idempotent.
130
129
</div>
131
130
132
131
Issue: define computational idempotency.
133
132
134
133
Issue(121): Is computational idempotency the right thing to do here? We could also just
135
- resolve any relative values once (against all the other initial values) and use
134
+ resolve any relative values once (against all the other initial values) and use
136
135
that. OR! We could allow specified values and just fix our engines...
137
136
138
137
When a custom property is registered with a given type, the process via which specified
@@ -161,7 +160,7 @@ are valid. Hence, the result of this stylesheet:
161
160
<pre class='lang-css'>
162
161
.thing {
163
162
--my-color: green;
164
- --my-color: url("not-a-color");
163
+ --my-color: url("not-a-color");
165
164
color: var(--my-color);
166
165
}
167
166
</pre>
@@ -318,7 +317,7 @@ this is standard across implementations to avoid interop issues.
318
317
Conditional Rules {#conditional-rules}
319
318
--------------------------------------
320
319
321
- @supports rules and the <a method for= CSS> supports()</a> method behave as specified
320
+ '' @supports'' rules and the {{ CSS/ supports(conditionText)}} method behave as specified
322
321
in [[!css-variables]] .
323
322
324
323
Note: In other words, for the purpose of determining whether a value is
0 commit comments