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

I don't really see what's special about `interactivity`... Seems this should be analogous to the following, where the text is visible:

```html
<style>
  #invisible {
    visibility: hidden;
  }
  #child {
    all: initial;
  }
</style>
<div id="invisible">
  <span id="child">Some text</span>
</div>
```

This issue seems to originate from https://issues.chromium.org/issues/408241037, where it was reported that `all: initial` can now escape the inertness established by the `inert` attribute.

I haven't been following the latest inert discussions in detail, but arguably that should be addressed by rejecting https://github.com/whatwg/html/pull/10956. I.e. instead of saying that the `inert` attribute sets `interactivity: inert`, it should make the UA treat `interactivity: auto` as inert.

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


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

Received on Wednesday, 9 April 2025 16:28:25 UTC