Page MenuHomePhabricator

Icon-only framed buttons are asymmetrical by one pixel
Closed, ResolvedPublic

Assigned To
Authored By
matmarex
Mar 4 2015, 5:32 PM
Referenced Files
F82975: pasted_file
Mar 11 2015, 8:38 PM
F55141: pasted_file
Mar 4 2015, 5:32 PM
F55144: pasted_file
Mar 4 2015, 5:32 PM

Description

Icon-only framed buttons are asymmetrical. Using Opera 28 on Windows 7.

pasted_file (80×494 px, 6 KB)

8x zoom:

pasted_file (335×735 px, 20 KB)

I haven't noticed this before, so I conjecture that this is a regression. Might be caused by @Esanders's sizing changes done to support background-size: contain – we now have a ton of fractional measurements like width: 1.875em; which might be getting inconsistently truncated.

Event Timeline

matmarex raised the priority of this task from to Needs Triage.
matmarex updated the task description. (Show Details)
matmarex added a project: OOUI.
matmarex added subscribers: matmarex, Esanders.

Change 200747 had a related patch set uploaded (by Bartosz Dziewoński):
Revert "Button styles between OOJS and MW"

https://gerrit.wikimedia.org/r/200747

Change 200747 merged by jenkins-bot:
Revert "Button styles between OOJS and MW"

https://gerrit.wikimedia.org/r/200747

matmarex renamed this task from Icon-only framed buttons are asymmetrical to Icon-only framed buttons are asymmetrical by one pixel.Mar 31 2015, 7:45 AM
matmarex triaged this task as Low priority.
matmarex removed a project: Patch-For-Review.
matmarex set Security to None.
matmarex removed a subscriber: gerritbot.

Back to the previous state, not entirely fixed.

This is not fixed. Please ignore everything that happened on this bug since the initial description, that was all actually unrelated and I tagged it against this mistakenly.

matmarex removed matmarex as the assignee of this task.
matmarex edited a custom field.

That's also dependent on the absolute positioned icon. We can more easily do away with this when https://gerrit.wikimedia.org/r/#/c/313940/ is merged.

Volker_E claimed this task.

This has finally been resolved! Hooray. Probably in the course of https://gerrit.wikimedia.org/r/#/c/346216/