Re: [csswg-drafts] [css-values-5] attr() and forwards compatible parsing (#11035)

Not just for forwards compat, but this could help for because of things like

```css
display: attr(foo block | flex | grid)
```

As per the rules in https://drafts.csswg.org/css-values-4/#component-combinators, visually it looks like there are 3 alternatives: `foo block`, `flex` and `grid`. Sure, I could use this for clarity:

```css
display: attr(foo [block | flex | grid])
```

But separating the attr name from the syntax may be better.

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


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

Received on Monday, 14 October 2024 23:40:16 UTC