Bug 145929 - Animating border-radius is blocky on iPad
Summary: Animating border-radius is blocky on iPad
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: iPhone / iPad iOS 8.2
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-06-12 07:37 PDT by Julien Quint
Modified: 2015-07-12 16:55 PDT (History)
5 users (show)

See Also:


Attachments
CSS and SVG circles animating side-by-side; CSS looks blocky on iPad. (1.27 KB, text/html)
2015-06-12 07:37 PDT, Julien Quint
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Quint 2015-06-12 07:37:33 PDT
Created attachment 254799 [details]
CSS and SVG circles animating side-by-side; CSS looks blocky on iPad.

A simple way to represent a circle with CSS is to have a <div> element with the same width and height (effectively square) and set its border-radius to half its size. Animating the scale of the element at small sizes on iPad however results in a blocky appearance, where the circle looks more like a square with rounder corners than a circle. Safari and Chrome on OS X look OK (but Firefox looks terrible.)

Included is a test file that shows the problem, with an SVG circle on the right for comparison (the animation of the SVG circle could also use some improvement on iPad when compared to OS X, but it’s definitely better than the CSS one.)
Comment 1 Radar WebKit Bug Importer 2015-06-12 07:37:49 PDT
<rdar://problem/21357691>