Page MenuHomePhabricator

Selection background is not visible for tokens with a background color
Open, Needs TriagePublic

Description

Reported at https://www.mediawiki.org/wiki/Special:Permalink/8349877#Background_color_and_selected_text

When selecting tokens highlighted with a background colour (like __TOC__), the selection background is not visible. I think the backgrounds used for the tokens should use grounding in order to prevent this.

Event Timeline

Change #1276401 had a related patch set uploaded (by Ayush8620; author: Ayush8620):

[mediawiki/extensions/CodeMirror@master] CodeMirror: Use grounding mixin for nowiki/pre token backgrounds

https://gerrit.wikimedia.org/r/1276401

Ayush8620 subscribed.
This comment was removed by Ayush8620.

Change #1276401 abandoned by Ayush8620:

[mediawiki/extensions/CodeMirror@master] CodeMirror: Adjust mnemonic token background for selection visibility

https://gerrit.wikimedia.org/r/1276401