W3C home > Mailing lists > Public > www-style@w3.org > May 2011

Re: Styling the browser itself

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 9 May 2011 12:09:37 -0700
Message-ID: <BANLkTik4bdSzeuVEs-p4OTJ7DsBB0N2BfA@mail.gmail.com>
To: Mark Ayers <markthema3@gmail.com>
Cc: "www-style@w3.org" <www-style@w3.org>
On Thu, May 5, 2011 at 5:23 PM, Mark Ayers <markthema3@gmail.com> wrote:
> Is this allowed for in any part of the specifications? For an example of
> what I'm talking about, open this page in Chrome:
> http://www.ineedwebpage.com/ and look at the scrollbar. I am trying to
> figure out if this is possible in any other browsers (haven't checked
> safari, but it should work, as it has a -webkit prefix), as well as if there
> might be an easier (read: non-prefixed) way of doing this (now or in the
> future).
[snip example ::webkit-scrollbar code]

In general, no, CSS does not allow you to style the browser chrome,
because browsers are free to implement whatever type of chrome they
want, and this is an important and useful freedom.

Some limited forms of chrome styling, such as styling form inputs and
possibly scrollbars, are being explored in the CSS UI module.

~TJ
Received on Monday, 9 May 2011 19:10:25 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:40 GMT