- From: Tab Atkins Jr. via GitHub <sysbot+gh@w3.org>
- Date: Mon, 11 Nov 2024 23:03:27 +0000
- To: public-css-archive@w3.org
In #11178 I've drafted up the text for 'interactivity'. I ended up having to make it *not*, technically, an inherited property; if we want to make it so that the 'inert' attribute is explained in terms of the property, then it needs to "inherit" down the flat tree, not the DOM tree. So instead, the initial 'auto' value just matches the inertness of the flat-tree parent node; an explicit "normal" and "inert" explicitly turns inertness off or on for a given node. I also have a suggested UA stylesheet rule to move the 'inert' attribute behavior over to CSS; it applies `inert !important;`, so it wins over CSS declarations, which I think we agreed on. It needs to use @scope to get a lower boundary so elements that are "exempt" from inertness (like modal dialogs) can go back to normal. (Ah, I just realized that those elements need to set a *non*-important "normal" so they'll turn off inertness; otherwise the auto behavior will still make them inert.) -- GitHub Notification of comment by tabatkins Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10711#issuecomment-2469254282 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 11 November 2024 23:03:28 UTC