> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> discuss.org] On Behalf Of Philippe Wittenbergh
> Sent: Thursday, August 07, 2008 5:53 PM
> To: CSS-D
> Subject: Re: [css-d] Parsing the "background:" shortcut
> 
> 
> On Aug 8, 2008, at 6:45 AM, Bill Moseley wrote:
> 
> > First, I'm looking for rules for parsing "background:".
> >
> > Obviously, not all background properties need to be included.
> >
> >    background: red;  # just set the color
> 
> The short-hand notation (not only for background but for all
> properties where you can use shorthand) resets _all_ properties that
> apply to their default (initial) value.
> 
> > And, at least in my quick test with Firefox, it seems the order of the
> > properties doesn't matter.
> 
> They don't matter for background.

I remember running into something weird in Safari once.
If I recall, it was an issue when "url()" contained no URL and came last
(i.e. background: #eee 50% 50% no-repeat url();).


-- 
Regards,
Thierry | http://www.TJKDesign.com




______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to