Re: [csswg-drafts] [css-anchor-position-1] Can we clarify the `inset-area` syntax? It can be confusing to read and reason about. (#9862)

@tabatkins The new syntax is imbalanced because the closing bracket at the end of line 400 is already closed at the end of line 398:
https://github.com/w3c/csswg-drafts/blob/7875737d2178c85e8d51a47bec7d4da296b0e132/css-anchor-position-1/Overview.bs#L398-L400

Not sure where the closing bracket needs to go, I let you sort that out ;)

Also, the Value Definition Syntax does not mention the possibility of whitespaces being used in [multipliers](https://www.w3.org/TR/css-values-4/#component-multipliers), and at least the [CSSTree parser](https://github.com/csstree/csstree) chokes on those at the end of lines 402 and 404.
https://github.com/w3c/csswg-drafts/blob/7875737d2178c85e8d51a47bec7d4da296b0e132/css-anchor-position-1/Overview.bs#L402
https://github.com/w3c/csswg-drafts/blob/7875737d2178c85e8d51a47bec7d4da296b0e132/css-anchor-position-1/Overview.bs#L404

Could the whitespaces be dropped as well, or should CSS parsers support these whitespaces?

-- 
GitHub Notification of comment by tidoust
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9862#issuecomment-1929204745 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 6 February 2024 10:23:32 UTC