Page MenuHomePhabricator

ToggleSwitchWidget is pixelated and grip misaligned
Closed, ResolvedPublic

Description

Screenshot 2015-09-28 15.40.55.png (228×397 px, 21 KB)

Note the corners of the component.

OOjs UI Demos ToggleSwitchWidget min-height-missing 2016-08-03.png (60×134 px, 6 KB)

Event Timeline

violetto assigned this task to Volker_E.
violetto raised the priority of this task from to Needs Triage.
violetto updated the task description. (Show Details)
violetto subscribed.

There are [[ https://stackoverflow.com/questions/6440002/how-to-enable-smooth-rounded-corners-in-android-browser | approaches to make elements with border-radius even smoother ]], but I personally couldn't see a big difference.
We should look at those options side-by-side and decide if there's a real improvement or we just live with what the current browser rendering engines offer.

Volker_E changed the task status from Open to Stalled.Oct 8 2015, 9:08 AM
Volker_E triaged this task as Lowest priority.

Right now, with the em rounding error and browser's different approach to anti-aliasing of border-radius properties, we won't be able to tackle that consequently without changing over to something like rem as measurement unit value.

Volker_E changed the task status from Stalled to Open.Aug 4 2016, 6:05 PM
Volker_E edited subscribers, added: Jdforrester-WMF, matmarex, Prtksxna; removed: violetto.

Change 302781 had a related patch set uploaded (by VolkerE):
MediaWiki theme: Fix ToggleSwitchWidget's sub-pixel rounding errors

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

Volker_E renamed this task from ToggleSwitchWidget is pixelated to ToggleSwitchWidget is pixelated and grip misaligned.Aug 4 2016, 6:09 PM
Volker_E updated the task description. (Show Details)
Volker_E updated the task description. (Show Details)
Volker_E raised the priority of this task from Lowest to High.Aug 11 2016, 9:37 PM
Volker_E moved this task from Backlog to Reviewing on the OOUI board.

Change 302781 merged by jenkins-bot:
MediaWiki theme: Fix ToggleSwitchWidget's sub-pixel rounding errors

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

Jdforrester-WMF moved this task from Reviewing to OOjs-UI-0.17.8 on the OOUI board.
Jdforrester-WMF edited projects, added OOUI (OOjs-UI-0.17.8); removed OOUI.
Jdforrester-WMF removed a project: Patch-For-Review.