W3C home > Mailing lists > Public > www-style@w3.org > March 2005

Re: ECMAScript in CSS aka "Expressions"

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Tue, 15 Mar 2005 21:18:27 +0100
Message-ID: <42374313.2070102@disruptive-innovations.com>
To: Bert Bos <bert@w3.org>
Cc: www-style@w3.org

Bert Bos wrote:

> Not quite sure if this is what you mean, but the working group recently 
> decided to investigate the implications of allowing simple, linear 
> expressions as values. For example:
>     width: expr(50% + 5px);
>     font-size: expr(2em / 3 + 2px);
>     padding-right: expr(1px + 1ex - 5%);

Wow, the Return of the Revenge of Chris Wilson 2... Chris proposed that
in 1997 IIRC.

There's a case that we have all hit designing web pages, a case that made
all web+css designers stress and wish the CSS WG burn forever in hell:

   width: expr(25% - 20px);
   margin-left: 10px;
   margin-right: 10px;

With my editor's implementor hat on, I can assure you that this is not
going to make my life harder, but simpler. That's going to make everyone's
life simpler. Oh, well, not everyone ;-)

Disruptive Innovations SARL, the geeks behind Nvu
Received on Tuesday, 15 March 2005 20:18:32 UTC

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