Re: [csswg-drafts] [css-ui] The interactivity property should not be included in the all shorthand (#12049)

OK, I missed the testcase from the issue was using `all` on the same element.

But I still don't see what's especial about `interactivity` to exclude it from `all`. The proposal just seems a hacky band-aid to mitigate the effects of the HTML change.

Maybe the `inert` attribute could set `interactivity: inert !important` preshint, or maybe not set a preshint at all and just affect how `interactivity: auto` resolves.

Or just accept the breakage. After all, `all: unset` can undo the effect of lots of HTML attributes, e.g.

```html
<!DOCTYPE html>
<div hidden>I'm hidden</div>
<div hidden style="all: unset">I'm visible</div>
```

```html
<!DOCTYPE html>
<img src="image" width="1000"> <!-- 1000px wide -->
<img src="image" width="1000" style="all: unset"> <!-- Probably not 1000px wide -->
```

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


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

Received on Monday, 23 June 2025 11:00:01 UTC