Bug 52639 - -webkit-radial-gradient() defaults to circular instead of elliptical gradients
: -webkit-radial-gradient() defaults to circular instead of elliptical gradients
Status: RESOLVED WORKSFORME
Product: WebKit
Classification: Unclassified
Component: CSS
: 528+ (Nightly build)
: PC Linux
: P2 Normal
Assigned To: Nobody
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-01-18 10:28 PST by Tab Atkins
Modified: 2011-02-18 08:45 PST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tab Atkins 2011-01-18 10:28:25 PST
If you use -webkit-radial-gradient() and omit the size/shape parameter, it should default to "ellipse cover", per the CSS3 spec.  Instead, it appears to default to "circle cover".

Testcase:
<!doctype html>
<div style="width: 300px; height: 200px; border: thick solid; background: -webkit-radial-gradient(red, yellow);"></div>
Comment 1 Wyatt710 2011-02-02 14:59:44 PST
It apears to not even be able to go into ellipse
Comment 2 Simon Fraser (smfr) 2011-02-18 08:35:12 PST
Um, this has worked since I implemented the new gradients.
Comment 3 Simon Fraser (smfr) 2011-02-18 08:45:05 PST
Oh, Linux. This is a Chromium bug then. Go file it at crbugs.