Seeing this with Safari on mediawik.org
Demo was added in https://gerrit.wikimedia.org/r/#/c/342321/
Description
Description
Details
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
MediaWiki theme: Align “framed” ButtonWidgets cross-browser | oojs/ui | master | +12 -6 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | None | T130691 Sub-pixel rendering layout issues with `em` or `%` relative units (tracking) | |||
Resolved | Volker_E | T122503 Edit link panel has uneven height of OOUI buttons in desktop Safari |
Event Timeline
Comment Actions
It's still reproducible on latest Safari 10.0.3/Mac. The reason behind this is line-height of iconElement is 15px and labelElement is 16px unlike Chrome. Firefox plays a different game and needs a line-height greater one. We're obviously not doing ourselves a favor by relying on other values than line-height: 1 to position the label within buttons.
The cross-browser solution that I've found still relies on line-height, but tries to tame it's influence and normalize its calculation.
Comment Actions
Change 341117 had a related patch set uploaded (by VolkerE):
[oojs/ui] MediaWiki theme: Align “framed” ButtonWidgets cross-browser
Comment Actions
Change 341117 merged by jenkins-bot:
[oojs/ui] MediaWiki theme: Align “framed” ButtonWidgets cross-browser