Closed Bug 1811250 Opened 1 year ago Closed 1 year ago

Switch away from mask-image for source tree file icons

Categories

(DevTools :: Debugger, task)

task

Tracking

(firefox111 fixed)

RESOLVED FIXED
111 Branch
Tracking Status
firefox111 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

Details

Attachments

(1 file)

As I wanted to simply add a small pill on top of the icon for override sources, I want to use an ::after pseudo element, but those are also affected by the mask-image.

The solution is to use background-image for files used in the source tree (see https://searchfox.org/mozilla-central/rev/daf613efc5c358f3a94961d73b90472c00703838/devtools/client/debugger/src/utils/source.js#22-29)

Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/9bfa7dbb54e7
[devtools] Don't use mask-image for source tree file icons. r=bomsy.
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 111 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: