[CSS] Would be nice if...

... 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 UTC