I’ve been trying to create a dark profile for MusicBrainz using Stylus. It’s pretty complete, but I just found a weird situation in the CSS for the Countries (https://musicbrainz.org/statistics/countries) and Languages/Scripts (https://musicbrainz.org/statistics/languages-scripts) pages.
Using the browser’s Dev Tools, I found the following. Note the irregular progression of “odd,” “even,” “odd even,” and “” (empty) classes. “odd even” classes seem to always follow ones with an empty class, making me think something goes wrong when generating the list.
I have not encountered this in most other tables in MB. It doesn’t happen in Collections, Track lists, or many others. But I have found it on Countries and Languages/Scripts pages.
Strange thing is, when my Stylus style is disabled, these tables correctly use alternating background colors on odd and even lines. But when my style is on, I get this (this is how I discovered it):
Is there a reason for this irregular progression, or a problem with the pages?
Observed in Firefox, Brave, MS Edge, and Vivaldi browsers, and on Linux and Windows 10 systems.