[csswg-drafts] [css-ui] `interactivity` needs to apply to text (#12052)

Loirooriol has just created a new issue for http://github.com/w3c/csswg-drafts:

== [css-ui] `interactivity` needs to apply to text ==
http://drafts.csswg.org/css-ui/#inertness

> Applies to: all elements
> Inherited: yes

It applies to all elements. Therefore, it applies to inline elements.
Properties that apply to inline elements and are inherited also need to apply to text to as per http://github.com/w3c/csswg-drafts/issues/5303#issuecomment-714593347

Indeed, this text in unselectable on Chromium canary:

```html
<div style="interactivity: inert; display: contents">I'm inert</div>
```

Which, by the way, means that Blink also applies [`user-select`](http://drafts.csswg.org/css-ui/#propdef-user-select) to text.

Please view or discuss this issue at http://github.com/w3c/csswg-drafts/issues/12052 using your GitHub account


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

Received on Friday, 4 April 2025 22:45:09 UTC