W3C home > Mailing lists > Public > www-style@w3.org > April 2009

Re: Automatic scheme: dark or light

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 29 Apr 2009 17:26:57 -0500
Message-ID: <dd0fbad0904291526s2593559fxfb62da264e3c099e@mail.gmail.com>
To: adderek.pl+SPAM@gmail.com
Cc: www-style@w3.org
On Wed, Apr 29, 2009 at 2:14 PM, Maciej Wakuła <adderek.pl@gmail.com> wrote:
> Probably this could explain this feature:
> http://vimdoc.sourceforge.net/htmldoc/options.html#%27background%27

Yeah, I understand the feature itself, but handling this in vim, where
the application has full control of what colors it uses, and handling
it on the web, where the page author has completely control, are quite
different cases, and really have next to nothing to do with each other
in implementation.

Authors can already provide alternate stylesheets, which current UAs
allow you to choose and can potentially remember.  This will not,
however, address your basic use-case (viewing the internet in a
light-on-dark scheme), as the vast majority of sites *do not* provide
alternate styles.  The specific thing you're asking for (allow authors
to specify what general scheme their sheet follows) puts the onus on
site authors, which will never widely happen, and will *especially*
not happen on legacy content.

When you open an old vim document, you can apply whatever styles you
want without worrying about what the original document author used.

Received on Wednesday, 29 April 2009 22:27:33 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:36 UTC