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

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 UTC