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

Re: Collapsing elements

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Thu, 21 Feb 2008 20:14:40 +0100
Message-ID: <47BDCDA0.4000306@disruptive-innovations.com>
To: Bert Bos <bert@w3.org>
Cc: www-style <www-style@w3.org>

Bert Bos wrote:

> But if there is such a need to query the state of an element, what stops 
> us from inventing a function and putting it in the CSSOM? Here is the 
> first draft:
> 
>     isInitial: element → boolean ∪ ⊥
> 
> It gives one of three answers: true, false or nil. In an OOP language, 
> the first argument would probably be written on the left side of the 
> function name: "element.isInitial()".

Yep, that's all I wanted to be specified. Let's make it happen,
seems we have a consensus on need for this feature. And if I
recall correctly, the WG already discussed things a few times
w/o finding a solution. Let's make it happen.

</Daniel>
Received on Thursday, 21 February 2008 19:15:28 GMT

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