Bug 27574 - [CSS3 Backgrounds and Borders] Add support for the "cover" value for background-size
Summary: [CSS3 Backgrounds and Borders] Add support for the "cover" value for backgrou...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
: 42184 (view as bug list)
Depends on:
Blocks: 27569
  Show dependency treegraph
 
Reported: 2009-07-22 15:44 PDT by Dave Hyatt
Modified: 2010-07-13 12:02 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Hyatt 2009-07-22 15:44:11 PDT
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.
Comment 1 mitz 2009-08-21 17:35:03 PDT
Fixed along with "backgrond-size: contain" (bug 27573) in r47630 and r47650.
Comment 2 Simon Fraser (smfr) 2010-07-13 12:02:48 PDT
*** Bug 42184 has been marked as a duplicate of this bug. ***