Steps to replicate the issue (include links if applicable):
- Go to Page information for https://en.wikipedia.org/w/index.php?title=User:Jonesey95/sandbox&oldid=1215016362
- See a night-mode-unaware-background-color error listed
What happens?:
The code in question is:
<span style="background:red;color:yellow;">Foo <span style="background:blue">bar</span></span>
Observe that the text color is yellow in both boxes, as dictated by the "color:yellow" in the outer span.
What should have happened instead?:
There should be no background color Linter error. The color:yellow declaration applies to the text within the nested span tag, so there should be no problem with night mode.
Software version (skip for WMF-hosted wikis like Wikipedia):
Other information (browser name/version, screenshots, etc.):