W3C home > Mailing lists > Public > www-style@w3.org > March 2002

Re: W3C 'CSS3 module: Color' Working Draft dated 19th February 2002

From: Ian Hickson <ian@hixie.ch>
Date: Wed, 20 Mar 2002 19:26:17 +0000
Message-ID: <3C98E259.9020201@hixie.ch>
To: Daniel Steinberger <Daniel.Steinberger@gmx.de>
CC: "Tantek Çelik (Microsoft Corporation)" <tantekc@microsoft.com>, "Chris Lilley (W3C)" <chris@w3.org>, "Steven Pemberton (CWI)" <steven.pemberton@cwi.nl>, "Brad Pettit (Microsoft Corporation)" <bradp@microsoft.com>, www-style@w3.org
Daniel Steinberger wrote:
 >
 > I also wonder, why there is an 'inherit' value for this property.

All properties have an inherit value. (And an initial value.) It's part of the
syntax.


 > So now my proposal:
 >
 > Instead of having one property to mask the whole element (and if the element
 > is a block-level element containing others, all those sub-elements), I
 > suggest introducing properties for each nessesary type of elements:
 >
 > Name:        opacity-background

You can do that already using the rgba() syntax.

For example:

    background: rgba(128, 64, 64, 0.2);
    color: rgba(0, 0, 0, 1);
    border: solid thick rgba(255, 128, 128, 1);

HTH,
-- 
Ian Hickson
``The inability of a user agent to implement part of this specification due to
the limitations of a particular device (e.g., non interactive user agents will
probably not implement dynamic pseudo-classes because they make no sense
without interactivity) does not imply non-conformance.'' -- Selectors, Sec13
Received on Wednesday, 20 March 2002 14:26:31 GMT

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