Steps to reproduce
- Open https://en.wikipedia.org/w/index.php?title=Template:Outdent&action=edit
- Switch syntax highlighting on and off
Actual result
In one mode of "Syntax highlighting" button, the editor window has pink-ish background color, which is correct.
In another – the background is white, which is incorrect.
Expected result
In both modes of "Syntax highlighting" button, the editor window has the pink-ish background color.
Notes
CSS rule responsible for correct color is:
.mw-textarea-protected, .mw-textarea-protected + .ui-resizable .ace_content, .mw-textarea-protected + .CodeMirror { background-color: #FFE0E0; }
CSS code responsible for incorrect color is the inline CSS style background-color: transparent; in this HTML snippet, which overrides the rule above:
<textarea aria-label="Wikitext source editor" tabindex="1" class="mw-textarea-protected mw-editfont-monospace" accesskey="," id="wpTextbox1" cols="80" rows="25" style="background-color: transparent; border-radius: 0px; border-style: none; border-width: 0px; box-sizing: border-box; clear: both; color: rgb(0, 0, 0); font-family: monospace, monospace; font-size: 13px; line-height: normal; margin: -65px 0px 0px; overflow: auto scroll; padding: 0px; resize: vertical; tab-size: 4; white-space: pre-wrap; width: 100%; overflow-wrap: normal; height: 0px;" dir="ltr" name="wpTextbox1" lang="en"> [...]