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

Re: [CSS] Would be nice if...

From: Andrew Fedoniouk <news@terrainformatica.com>
Date: Thu, 10 Jan 2008 10:42:18 -0800
Message-ID: <4786670A.30006@terrainformatica.com>
To: Christoph Päper <christoph.paeper@crissov.de>
CC: CSS Style <www-style@w3.org>

Christoph Päper wrote:
> Andrew Fedoniouk:
>> ... CSS will allow to define values of attributes of elements.
> You want a (partial) document type description language using (CSS) 
> Selectors?
> I have an early private draft for something like that hibernating for 
> years somewhere on my harddisk. It doesn't belong in CSS itself of 
> course.
That sounds really interesting per se.

But I am always wondering why people think that word 'style' is only 
about visual style.
It could be behavioral style too. And behavioral style can be related to 
visual style.
In case of <input type="range"> @step may trigger appearance of spin 
buttons. Which are also related to visual style.
In the same way as CSS's @overflow triggers different behavior to be set 
for the element.

Constructions like:
    behavior: number-input;
    @step: "2";
    color: red;

may help 1) to make transition from old UAs to new technology less painfull.
2) keep HTML as purely semantic language. 

Andrew Fedoniouk.
Received on Thursday, 10 January 2008 18:42:38 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:33 UTC