Skip to content

Commit 165b94f

Browse files
andruudtabatkins
authored andcommitted
[css-properties-values-api] Reify '*' and direct CSSStyleValues properly. (w3c#900)
Resolves w3c#897.
1 parent 2a1b322 commit 165b94f

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

css-properties-values-api/Overview.bs

+7-5
Original file line numberDiff line numberDiff line change
@@ -702,7 +702,7 @@ Conditional Rules {#conditional-rules}
702702
and paying no attention to registered properties' syntaxes.
703703

704704
{{CSS/supports(property, value)}},
705-
as specified in [[css-conditional-3]],
705+
as specified in [[css3-conditional]],
706706
<em>does</em> pay attention to the syntax of registered custom properties.
707707

708708
The general principle in use
@@ -862,8 +862,8 @@ and affects how the custom property calculates its [=computed value=].
862862
------------------------------------------------------------
863863

864864
<div algorithm>
865-
To <dfn>reify a registered custom property value</dfn> given a
866-
[=syntax descriptor=] |syntax|, run these steps:
865+
To <dfn>reify a registered custom property value</dfn> given a property
866+
|property| and [=syntax descriptor=] |syntax|, run these steps:
867867

868868
For specified values:
869869

@@ -888,10 +888,12 @@ and affects how the custom property calculates its [=computed value=].
888888
return the result.
889889
5. If the value is an [=identifier=], [=reify an identifier=] from the value
890890
and return the result.
891-
6. If the value is a <<declaration-value>>,
891+
6. If |syntax| is the [=universal syntax descriptor=],
892892
[=reify a list of component values=] from the value, and return the
893893
result.
894-
7. Otherwise, [=reify as a CSSStyleValue=] and return the result.
894+
7. Otherwise, [=reify as a CSSStyleValue=] with the
895+
{{[[associatedProperty]]}} internal slot set to |property|, and
896+
return the result.
895897
</div>
896898

897899

0 commit comments

Comments
 (0)