- From: Seokho Song via GitHub <sysbot+gh@w3.org>
- Date: Sun, 27 Mar 2022 06:52:58 +0000
- To: public-css-archive@w3.org
DevSDK has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-typed-om] Reify color for CSSColorValue.parse == The spec [1] defines the parsing rule for 'CSSColorValue.parse': 1. Parse cssText as a <color> and let result be the result. If result is a syntax error, throw a SyntaxError and abort this algorithm. 2. Reify a color value from result, and return the result. So the 'result' passed to the second step. However, the 9th in the second step [2] says: 9. If val is any other color keyword, return the result of reifying as a CSSStyleValue val for prop. But the prop is not passed from the first step. How should we clarify the parsing rule? Working CL: https://chromium-review.googlesource.com/c/chromium/src/+/3522201/comments/6b28bb4f_0c02a99e cc. @xiaochengh [1] https://drafts.css-houdini.org/css-typed-om-1/#dom-csscolorvalue-parse [2] https://drafts.css-houdini.org/css-typed-om-1/#reify-a-color-value Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7174 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Sunday, 27 March 2022 06:53:03 UTC