百度 人民网北京11月7日电(陈羽)11月7日上午,顺义区在北京中国国际展览中心新馆隆重举行“顺义区第二十七届119消防宣传月活动”启动仪式。
I don't know if I'm completely right here to report this strange behavior. If not, please apologize.
Steps to replicate the issue (include links if applicable):
- open any page in view mode and type in console: $("<div>").css("color", "var(--color-base, #202122)")
- look at the created object and its style property. It reads: color: var(--color-base, #202122); as expected
- repeat the same in editing mode
- the style property reads: color: rgb(32, 33, 34);. Somehow the assignment of the css variable with fallback value has been expanded to the rgb value of the fallback.
Because of this some dark mode adjustments for the editing view at dewiki don't work.
Remarks
- happens in: both Firefox and Edge browser, Vector-2022 and Minerva skin, dewiki and enwiki, CodeMirror disabled/enabled, safemode disabled/enabled
- doesn't happen if the fallback value is omitted