Closed
Bug 1575786
Opened 5 years ago
Closed 5 years ago
Remove usage of -moz-user-select in devtools CSS, prefer user-select
Categories
(DevTools :: General, task, P3)
DevTools
General
Tracking
(firefox70 fixed)
RESOLVED
FIXED
Firefox 70
Tracking | Status | |
---|---|---|
firefox70 | --- | fixed |
People
(Reporter: fvsch, Assigned: fvsch)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
-moz-user-select
was unprefixed in Firefox 69 (currently in Beta).
We have a few places with code like:
.moz-only {
-moz-user-select: none;
}
.moz-and-unprefixed {
-moz-user-select: none;
user-select: none;
}
.all-the-things {
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
-o-user-select: none;
user-select: none;
}
We should be able to just use user-select: none;
.
Re. browser support:
- Chrome supports
user-select
unprefixed, Safari doesn't. - Most DevTools CSS code only targets Gecko.
- Debugger CSS code targets Gecko primarily, and Chrome as a secondary target (in Launchpad mode). It also uses autoprefixer which should add the
-webkit-user-select
one for Safari.
Assignee | ||
Updated•5 years ago
|
Blocks: dt-polish-debt
Assignee | ||
Updated•5 years ago
|
Assignee: nobody → florens
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•5 years ago
|
||
Updated•5 years ago
|
Priority: -- → P3
Pushed by florens@fvsch.com: https://hg.mozilla.org/integration/autoland/rev/d6f691b8f534 Use unprefixed user-select property in devtools CSS; r=ladybenko,jlast
Comment 3•5 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox70:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 70
Comment 4•5 years ago
|
||
bugherder uplift |
You need to log in
before you can comment on or make changes to this bug.
Description
•