Coordinates placement is inconsistent between browsers when using Vector 2022 on projects that display the coordinates using absolute positioning rather than an indicator.
I originally ran into this when tweaking the styles for coordinates at German Wikipedia: https://de.wikipedia.org/wiki/Wikipedia:Technik/Skin/MediaWiki/Änderungen#c-Hgzh-20221215160900-Matma_Rex-20221215110100 where I had applied a CSS workaround to avoid it: https://de.wikipedia.org/w/index.php?title=MediaWiki%3AVector.css&diff=228912775&oldid=228879247.
The problem happens because Vector 2022 styles for the page subtitle etc. trigger a confusing edge case with margin/float/clear, which has a different rendering between browsers. At first I filed this as a Chrome bug: https://bugs.chromium.org/p/chromium/issues/detail?id=1401690 but I'm not sure any more if it's really a bug.
Since many projects are affected, maybe we should change out CSS to avoid this.
Examples:
At https://lt.wikipedia.org/wiki/Krokuva, the coordinates overlap the edit tabs on Chrome, but not Firefox:
Chrome | Firefox |
---|---|
At https://als.wikipedia.org/wiki/Krakau, the coordinates overlap the infobox on Firefox, but not Chrome:
Chrome | Firefox |
---|---|
More examples of the problem on Chrome (not an exhaustive list, I only reviewed ~100 wikis):
- https://dsb.wikipedia.org/wiki/Krakow
- https://hsb.wikipedia.org/wiki/Krakow
- https://lt.wikipedia.org/wiki/Krokuva
- https://mn.wikipedia.org/wiki/Краков
- https://nn.wikipedia.org/wiki/Kraków
- https://sk.wikipedia.org/wiki/Krakov
- https://en.wikipedia.org/wiki/Resolution_Guyot (not an issue on https://en.wikipedia.org/wiki/Resolution_Guyot?vectorpagetools=1)
More examples of the problem on Firefox (not an exhaustive list, I only reviewed ~100 wikis):