W3C home > Mailing lists > Public > www-style@w3.org > December 2006

Re: Extending CSS

From: Anne van Kesteren <annevk@opera.com>
Date: Sat, 30 Dec 2006 13:05:21 +0100
To: "Daniel Glazman" <daniel.glazman@disruptive-innovations.com>
Cc: www-style@w3.org
Message-ID: <op.tldfu7em64w2qv@id-c0020>

On Sat, 30 Dec 2006 12:58:32 +0100, Daniel Glazman  
<daniel.glazman@disruptive-innovations.com> wrote:
>> I don't think it was overlooked. CSS is designed in a way that  
>> everything that is not understood will be dropped and therefore doesn't  
>> end up in the CSSOM (CSS Object Model). I'm not sure if you really want  
>> to make it more complex.
>
> Editing tools care about **all** declarations, valid for the local
> parser or rejected. CSSUnknownRule was impossible to implement, but it's
> still immensely useful for editing tools and filters.

If your editor uses the CSSOM internally, I suppose that's true. That  
seems an implementation detail though. You can probably compare it with an  
HTML editor where in source view the author wants to preserve the  
attribute order and the insignificant whitespace between attributes. Or  
the way attributes are declared (contenteditable versus  
contenteditable="true").


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Saturday, 30 December 2006 12:05:32 GMT

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