[Webkit-unassigned] [Bug 27577] [CSS3 Backgrounds and Borders] Add background-size to the background shorthand

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 1 13:52:44 PDT 2012


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





--- Comment #11 from Eric Seidel <eric at webkit.org>  2012-05-01 13:52:43 PST ---
(From update of attachment 139667)
View in context: https://bugs.webkit.org/attachment.cgi?id=139667&action=review

Do you know who has recently been working on the shorthand stuff?  It seems they should be CC'd if they aren't already. I know we've had several patches in this area as of late.

> LayoutTests/fast/backgrounds/size/backgroundSize-in-background-shorthand.html:12
> +#size-cover
> +{
> +background: url('resources/flower.jpg') center / cover no-repeat;
> +}

It doesn't matter, but by putting these selectors all on one line, you could cut this file size in half w/o hurting readability. :)

#size-cover { background: url('resources/flower.jpg') center / cover no-repeat; }

It's also not clear to me if you don't just want to inline these on the div elements themselves. :)

-- 
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