Bug 52639 - -webkit-radial-gradient() defaults to circular instead of elliptical gradients
Summary: -webkit-radial-gradient() defaults to circular instead of elliptical gradients
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
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.