From 8f3fbedaf5530ba4042c648268ecff3c7bcc51c9 Mon Sep 17 00:00:00 2001 From: Anders Hartvoll Ruud Date: Tue, 11 Jun 2019 20:33:01 +0200 Subject: [PATCH] [css-properties-values-api] Reify '*' and direct CSSStyleValues properly. Resolves #897. --- css-properties-values-api/Overview.bs | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/css-properties-values-api/Overview.bs b/css-properties-values-api/Overview.bs index b78b881b..f6923447 100644 --- a/css-properties-values-api/Overview.bs +++ b/css-properties-values-api/Overview.bs @@ -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]], does pay attention to the syntax of registered custom properties. The general principle in use @@ -862,8 +862,8 @@ and affects how the custom property calculates its [=computed value=]. ------------------------------------------------------------
- To reify a registered custom property value given a - [=syntax descriptor=] |syntax|, run these steps: + To reify a registered custom property value given a property + |property| and [=syntax descriptor=] |syntax|, run these steps: For specified values: @@ -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 <>, + 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.