Skip to content

[css-ui] interactivity needs to apply to text #12052

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Loirooriol opened this issue Apr 4, 2025 · 0 comments
Open

[css-ui] interactivity needs to apply to text #12052

Loirooriol opened this issue Apr 4, 2025 · 0 comments
Labels
css-ui-4 Current Work

Comments

@Loirooriol
Copy link
Contributor

https://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 #5303 (comment)

Indeed, this text in unselectable on Chromium canary:

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

Which, by the way, means that Blink also applies user-select to text.

@Loirooriol Loirooriol added the css-ui-4 Current Work label Apr 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
css-ui-4 Current Work
Projects
None yet
Development

No branches or pull requests

1 participant