W3C home > Mailing lists > Public > www-style@w3.org > August 2006

Re: Solving the alpha images and background-color problem

From: David Hyatt <hyatt@apple.com>
Date: Thu, 10 Aug 2006 17:31:00 -0700
Message-Id: <A9D3542A-23CE-42BA-BDA7-6DD9D4168526@apple.com>
Cc: www-style@w3.org
To: Ben Ward <ben@ben-ward.co.uk>

This has been fixed for some time in our nightly builds and is not a  
bug any longer.  http://nightly.webkit.org/


On Aug 10, 2006, at 5:50 AM, Ben Ward wrote:

> However, when using background-color:
> body {
>    background-color: #0F0;
>    background-color: #F00 #00F;
> }
> The background is set to red. Safari seems not treat space  
> separated values as erroneous and just applies the first one  
> (green). I experimented with using a syntax akin to font-size/line- 
> height, but Safari still handles that (green). Now well off the  
> topic of defining a useful syntax for a CSS spec, I did find that  
> if you use a double forward-slash as the separator between colours  
> (#F00//#00F) then Safari does ignore the style. No idea what's  
> going on there. Perhaps that's one for Dave Hyatt if he still keeps  
> up to date here.
> Anyway, I'm certainly not advocating // as the separator based on  
> one browser's quirk, but I did want to raise that point that a  
> syntax which is ignored as invalid in current implementations may  
> be preferable and make evolutionary adoption of this idea by  
> authors easier.
> Regards,
> Ben
Received on Friday, 11 August 2006 00:31:06 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:25 UTC