Skip to content

[css-properties-values-api] Reify '*' and direct CSSStyleValues properly. #900

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 13, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 7 additions & 5 deletions css-properties-values-api/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ Conditional Rules {#conditional-rules}
and paying no attention to registered properties' syntaxes.

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

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

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

For specified values:

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


Expand Down