[Webkit-unassigned] [Bug 27573] [CSS3 Backgrounds and Borders] Add support for the "contain" value for background-size

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 19 12:45:36 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=27573


Beth Dakin <bdakin at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #35132|                            |review?
               Flag|                            |




--- Comment #1 from Beth Dakin <bdakin at apple.com>  2009-08-19 12:45:35 PDT ---
Created an attachment (id=35132)
 --> (https://bugs.webkit.org/attachment.cgi?id=35132)
Patch for the CSS part of contain and cover

Here is a patch for the CSS part of supporting contain and cover as values for
background-size. There are a few things that I am unsure about:

1. Should the code that is share with WebKitMaskSize be broken out so that
WebKitMaskSize does not support contain and cover? Right now, I implemented it
to continue matching background-size.
2. In CSSPrimitiveValueMappings.h I was unsure what to return in the normal
case when the value is a pair of numbers.

Those are the main things, I think.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list