Bug 27574
Summary: | [CSS3 Backgrounds and Borders] Add support for the "cover" value for background-size | ||
---|---|---|---|
Product: | WebKit | Reporter: | Dave Hyatt <hyatt> |
Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | bdakin, mitz, simon.fraser |
Priority: | P2 | ||
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | OS X 10.5 | ||
Bug Depends on: | |||
Bug Blocks: | 27569 |
Dave Hyatt
cover
Scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can completely cover the background positioning area.
This is a new value of background-size.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
mitz
Fixed along with "backgrond-size: contain" (bug 27573) in r47630 and r47650.
Simon Fraser (smfr)
*** Bug 42184 has been marked as a duplicate of this bug. ***