W3C home > Mailing lists > Public > www-style@w3.org > November 2009

Re: [cssom][dom-level-2-style] Obsolete DOM-L2-Style interfaces

From: Daniel Glazman <daniel.glazman@disruptive-innovations.com>
Date: Thu, 19 Nov 2009 07:35:04 +0100
Message-ID: <4B04E718.90106@disruptive-innovations.com>
To: Sylvain Galineau <sylvaing@microsoft.com>
Cc: "www-style@w3.org" <www-style@w3.org>
Sylvain Galineau wrote:

> For CSSUnknownRule, the mail points out that: "unknown rules should be dropped by the parser and thus never reach the DOM". I still think it would be useful for a number of tools (Firebug?) to be able to enumerate rules that were dropped but OK. I'll buy that.

CSSUnkownRule is also very important for (wysiwyg) content editors.
Let's imagine my content editor is built on webkit; it does not
understand -moz-* properties but as a content editor, I am not building
websites for webkit only so I really really want my -moz-* declarations
to be preserved when I load a document, edit and reserialize stylesheets
or save the document.
CSSUnknownRules has flaws, but we still need a way to preserve whatever
is dropped by the CSS parser.

</Daniel>
Received on Thursday, 19 November 2009 06:35:42 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:22 GMT