W3C home > Mailing lists > Public > www-style@w3.org > January 2008

[CSS] Would be nice if...

From: Andrew Fedoniouk <news@terrainformatica.com>
Date: Tue, 08 Jan 2008 12:09:41 -0800
Message-ID: <4783D885.9020403@terrainformatica.com>
To: CSS Style <www-style@w3.org>

... CSS will allow to define values of attributes of elements.

So if I want to have min/max values defined for the group of elements 
I'll be able to
write something like:

input[type="range"].results
{
   @min:"10";
   @max:"100";
}

In principle it is enough if UA will support custom CSS attributes:
input[type="range"].results
{
   -min:"10";
   -max:"100";
}

In this case implementation of input[type="range"] may get min/max info 
from
"style rack" ( '-min' / '-max') or from attributes ('min' / 'max').

(DTD allows to define default values of attributes but it does not have 
selectors.)

------------------
It also would be nice if style sheet used on the page:
  http://www.w3.org/html/
will be fixed. Mouse hover effect for links makes them non-readable.

It is enough to move

a:active, a:hover {
   background-color: #0b5b9d;
   color: white; }

after 

a:link {
   text-decoration: none;
   color: #0b5b9d; }

declaration.

--
Andrew Fedoniouk.

http://terrainformatica.com
Received on Tuesday, 8 January 2008 20:12:24 GMT

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