Note the corners of the component.
Description
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
MediaWiki theme: Fix ToggleSwitchWidget's sub-pixel rounding errors | oojs/ui | master | +7 -5 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Resolved | None | T130691 Sub-pixel rendering layout issues with `em` or `%` relative units (tracking) | |||
Resolved | Volker_E | T114052 ToggleSwitchWidget is pixelated and grip misaligned |
Event Timeline
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.
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.
Change 302781 had a related patch set uploaded (by VolkerE):
MediaWiki theme: Fix ToggleSwitchWidget's sub-pixel rounding errors
Change 302781 merged by jenkins-bot:
MediaWiki theme: Fix ToggleSwitchWidget's sub-pixel rounding errors