Transparent selections disallowed since version 153
Categories
(DevTools :: Debugger, defect)
Tracking
(Not tracked)
People
(Reporter: marijnh, Unassigned)
Details
Editors such as CodeMirror, which draw their own selection but still want to set the DOM selection, will set a transparent selection background via the ::selection pseudo-selector.
Since version 153, Firefox appears to ignore such a selection. Both transparent and a color code with 0 alpha will leave the selection visible, with its default color.
If this is intentional, it doesn't seem very useful (using a tiny opacity does still work, and also leads to an almost-invisible selection). If it's a bug, it affects CodeMirror (the editor also used in devtools), and probably a lot of other websites and libraries.
Comment 1•2 hours ago
|
||
The Bugbug bot thinks this bug should belong to the 'DevTools::Debugger' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Description
•