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

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

From: David Dorward <david@dorward.me.uk>
Date: Fri, 11 Jan 2008 21:18:21 +0000
Message-Id: <281EB0D2-2C42-4664-8FE5-8D5ACA04D9AF@dorward.me.uk>
To: CSS Style <www-style@w3.org>

On 11 Jan 2008, at 19:11, Andrew Fedoniouk wrote:
> David Dorward wrote:

> overflow:auto;  may trigger scrollbars. This scrollbar... is it  
> form of function?

It is form, it just refers to the way data is presented, it doesn't  
limit what data can be entered as the previous suggestion would.

> And yet consider following:
>
> input[type="currency"]

Is this an HTML5 proposal?

> {
>    color:black;
>    @format:"$n,nnn.nn";
> }
> input[type="currency"]:negative
> {
>    color:blue;
>    @format:"$(n,nnn.nn)";
> }
>
> Could you try to define 'color' and '@format' in terms of form/ 
> function ?

Both just describe the way it looks.

The data is a positive or negative number.
The stylesheet describes how that number is presented to the user.

-- 
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/
Received on Friday, 11 January 2008 21:18:38 GMT

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