W3C home > Mailing lists > Public > www-style@w3.org > September 1999

Re: Minor error in CSS2, section 14.2; 'background'

From: Ian Hickson <py8ieh@bath.ac.uk>
Date: Tue, 7 Sep 1999 16:31:06 +0100 (BST)
To: Jan Roland Eriksson <jrexon@newsguy.com>
cc: www-style <www-style@w3.org>
Message-ID: <Pine.GSO.4.04.9909071628450.2481-100000@ss1.bath.ac.uk>
On Mon, 6 Sep 1999, Jan Roland Eriksson wrote:

>> The 'background' property cannot have the value 'transparent', since
>> it is a shorthand property.
> 
> I'm getting confused?
> None of the two available CSS lints flags errors for this test.
> 
>   .test {
>      color : #000000;
>      background : transparent none repeat;
>   }
> 
> How to interpret that, if the 'background' property can not be given a
> value of 'transparent' ?

What I meant was that the 'background' property does have a 'value' itself
-- I was considering it 'write only', since if you set it all it does is
change all the relevant longhand properties.

But apparently David has already raised this issue with the DOM folk, and
shorthand properties do have values. So never mind...

-- 
Ian Hickson
: Is your JavaScript ready for Nav5 and IE5?
: Get the latest JavaScript client sniffer at 
: http://developer.netscape.com/docs/examples/javascript/browser_type.html
Received on Tuesday, 7 September 1999 11:31:11 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:00 GMT