Bug 52639
Summary: | -webkit-radial-gradient() defaults to circular instead of elliptical gradients | ||
---|---|---|---|
Product: | WebKit | Reporter: | Tab Atkins <tabatkins> |
Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WORKSFORME | ||
Severity: | Normal | CC: | simon.fraser, Wyatt710 |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | Linux |
Tab Atkins
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>
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Wyatt710
It apears to not even be able to go into ellipse
Simon Fraser (smfr)
Um, this has worked since I implemented the new gradients.
Simon Fraser (smfr)
Oh, Linux. This is a Chromium bug then. Go file it at crbugs.