- From: Mason Freed via GitHub <noreply@w3.org>
- Date: Wed, 17 Sep 2025 16:12:14 +0000
- To: public-css-archive@w3.org
> 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.
This seems like a reasonable fix. Just change the UA stylesheet to:
```
[inert] {
interactivity: inert !important;
}
```
Note that [the PR](https://github.com/whatwg/html/pull/10956) also has this in the rendering section:
```
:modal {
interactivity: auto;
}
```
and I think perhaps that part stays as-is. Using `all: initial` will not affect that. And the built-in modal dialog inertness mechanism should be unaffected by a change to `all`.
--
GitHub Notification of comment by mfreed7
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12049#issuecomment-3303694388 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 17 September 2025 16:12:15 UTC