Skip to content

[css-ui-4] let user-select:contain prohibit selection from outside #1815

@yoichio

Description

@yoichio

https://drafts.csswg.org/css-ui-4/#valdef-user-select-contain

user-select:contain stops selection leaking from inside to outside, but often
we want to prohibit selection from outside.
For position: absolute, we want selection on normal layout elements to skip over the abs elements but
also want user to be enable to select the element.
For form/editable element, it is also strange that selection from outside can go into the form.

How about make user-select:contain more strict that prohibits selection transit?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions