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

Re: Collapsing elements

From: fantasai <fantasai.lists@inkedblade.net>
Date: Thu, 21 Feb 2008 16:42:04 -0800
Message-ID: <47BE1A5C.5000604@inkedblade.net>
To: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
CC: Bert Bos <bert@w3.org>, www-style <www-style@w3.org>

Daniel Glazman wrote:
> 
> 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.

Sounds good. How about summarizing the discussion so far onto the wiki? :)
   http://csswg.inkedblade.net/ideas/collapsing

~fantasai
Received on Friday, 22 February 2008 00:42:03 GMT

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