Bug 145929

Summary: Animating border-radius is blocky on iPad
Product: WebKit Reporter: Julien Quint <julienq>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: dbates, hyatt, simon.fraser, webkit-bug-importer, zalan
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: iPhone / iPad   
OS: iOS 8.2   
Attachments:
Description Flags
CSS and SVG circles animating side-by-side; CSS looks blocky on iPad. none

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>