W3C home > Mailing lists > Public > www-style@w3.org > November 2003

Re: Widget Appearance

From: Dylan Schiemann <dylans@yahoo.com>
Date: Mon, 17 Nov 2003 19:22:55 -0800
Message-ID: <3FB9908F.9020400@yahoo.com>
To: www-style@w3.org

Boris Zbarsky wrote:
> I'm not even sure what part of the scrollbar this refers to.
> 
> Basically, this proposal, like all the preceding ones that have been 
> posted in this thread, assumes all scrollbars look like Windows 
> scrollbars.  They don't.

CSS could provide a chrome styling selector mechanism, but not the 
actual selectors.  Meaning that CSS could define a general mechanism for 
selecting the chrome, and implementations could follow this mechanism 
for defining their own pseudo-elements for things like scrollbars.

For example, something like:

html::chrome::chromeElement {background-color:black;color:white;}

(or some better syntax)

and leave the allowed values for chromeElement up to UAs.  The group 
could offer some non-normative suggestions for chromeElement names in 
widely used cases.

-Dylan

--
Dylan Schiemann
http://www.sitepen.com/
http://www.dylanschiemann.com/
Received on Monday, 17 November 2003 22:24:56 GMT

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