Closed Bug 1584074 Opened 5 years ago Closed 5 years ago

CodeMirror display some tokens in black while in dark mode

Categories

(DevTools :: Source Editor, defect, P1)

defect

Tracking

(firefox-esr60 unaffected, firefox-esr68 unaffected, firefox69 unaffected, firefox70 unaffected, firefox71 fixed)

VERIFIED FIXED
Firefox 71
Tracking Status
firefox-esr60 --- unaffected
firefox-esr68 --- unaffected
firefox69 --- unaffected
firefox70 --- unaffected
firefox71 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Found the bad commit :D

8:09.62 INFO: No more inbound revisions, bisection finished.
8:09.62 INFO: Last good revision: 9f2ff84ff3eef50321fe9525c6510e6462f519f0
8:09.62 INFO: First bad revision: 0e9caca3bcf6adf462ea5174be3f9d15ffe77b4c
8:09.62 INFO: Pushlog:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=9f2ff84ff3eef50321fe9525c6510e6462f519f0&tochange=0e9caca3bcf6adf462ea5174be3f9d15ffe77b4c

Thanks for investigating!
The codemirror update is quite important, not sure what regressed

Regressed by: 1583278

The last update of the CodeMirror library introduced new
CSS selectors in the css file with a greater specificity than
they used to, which means the color property we set in our
themes css files weren't applied.
We change the selectors in our theme files so they are more
specific than the ones in codemirror's css file.

Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/d74f281194ea
Fix CodeMirror token color issue due to update to v5.49.0. r=gl.
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 71

¡Hola Stefan!

Verifying fixed as the duplicate https://bugzilla.mozilla.org/show_bug.cgi?id=1584044 is resolved on Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:71.0) Gecko/20100101 Firefox/71.0 ID:20191009103354

¡Gracias!
Alex

Status: RESOLVED → VERIFIED
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: