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

Re: CSS Selectors: How to style non-styleable?

From: Orion Adrian <orion.adrian@gmail.com>
Date: Sat, 11 Mar 2006 16:45:04 -0500
Message-ID: <abd6c8010603111345s2d4ea25bw87308541f636ac49@mail.gmail.com>
To: www-style@w3.org

On 3/10/06, Andrew Fedoniouk <news@terrainformatica.com> wrote:
>
> There are situations when we need to define styles
> of sub-elements of some DOM element.
> Such sub-elements are not parts of the DOM so exsting selectors
> cannot be applicable to them.
>
> Examples:
> - style of scrollbars of some element and their parts.
> - parts of <select> element: buttons, popups, etc.

It's probably a bad idea to try to style elements that you can't
assume are there. Remember, this whole thing is supposed to be
cross-platform, so trying to style buttons and other interaction
elements defined by the OS is a good way to say <bleep> you to
everyone using a platform you didn't design for.

Also I'm not sure it's such a good idea to be manipulating the default
styles of interaction elements (or at least allowing it for the public
at large). Interaction elements are those things that you need to
assure are accessible at all times. Otherwise a bad implementation or
a bad set of CSS could really mess up the user's ability to function
with the browser.

--

Orion Adrian
Received on Saturday, 11 March 2006 21:51:47 GMT

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