Do not expose -moz-user-select/-webkit-user-select to content (user hostile)
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
People
(Reporter: faaborg, Unassigned)
References
Details
Comment 1•16 years ago
|
||
Comment 2•16 years ago
|
||
Reporter | ||
Comment 3•16 years ago
|
||
Comment 4•16 years ago
|
||
Reporter | ||
Comment 5•16 years ago
|
||
Updated•16 years ago
|
Comment 6•16 years ago
|
||
Comment 7•16 years ago
|
||
Comment 8•16 years ago
|
||
Comment 10•15 years ago
|
||
Comment 11•15 years ago
|
||
Comment 12•11 years ago
|
||
Comment 13•7 years ago
|
||
Updated•7 years ago
|
Comment 14•6 years ago
|
||
Updated•6 years ago
|
Comment 15•3 years ago
|
||
(In reply to Mats Palmgren (inactive) from comment #14)
user-select:none is part of the web-platform and we can't remove it
for web-compat reasons.
This is true to a certain extent, though the webcompat situation is complex:
(1) Safari seems to not support the unprefixed property at all; so a website setting user-select:none
will get arguably-user-annoying behavior in Firefox vs. regular behavior in Safari.
(2) Chrome does support the unprefixed property, but they support it in a way that's at least substantially more nerfed than Firefox's implementation (and more nerfed than Safari's implementation of the webkit-prefixed property name). See bug 1773810 where the testcase (a textarea) is unselectable and minimally-editable in Firefox (e.g. uparrow/downarrow moves caret to start/end for no clear reason), and not-really-editable-at-all in Safari, but perfectly editable in Chrome.
So to the extent that there are webcompat constraints around unprefixed user-select
, the constraints are in favor of us reducing its severity or even ignoring it.
We should probably revisit our decision to WONTFIX this. (Perhaps the stated summary "Do not expose -moz-user-select/-webkit-user-select to content" is too big of a hammer, but we might want to make some improvements in the interests of compat & user benefit.)
Comment 16•3 years ago
|
||
(CC'ing some interested folks, and clearing now-404 URL from comment 0)
Comment 17•3 years ago
|
||
Well, yeah, I think the bug as described by the title is wontfix though. Specific compat issues are probably best addressed in separate bugs.
Comment 18•3 years ago
|
||
(In reply to Emilio Cobos Álvarez (:emilio) from comment #17)
Well, yeah, I think the bug as described by the title is wontfix though. Specific compat issues are probably best addressed in separate bugs.
That's fair. After a bit more digging, I filed bug 1774697 with a specific compat issue that seems valid & fixable.
Description
•