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

Re: [css3-conditional] specifying behavior of CSSGroupingRule.insertRule

From: L. David Baron <dbaron@dbaron.org>
Date: Fri, 8 Feb 2013 21:46:02 -0800
To: www-style@w3.org
Message-ID: <20130209054602.GA12021@crum.dbaron.org>
On Thursday 2013-02-07 13:33 -0800, L. David Baron wrote:
> Chrome's behavior is that anything other than a single syntactically
> valid rule throws SYNTAX_ERR.  This means an empty string, garbage
> after a rule, or multiple rules, lead to SYNTAX_ERR.  This seems to
> me to be a clear, simple, and reasonable behavior.  I have a test
> for this behavior here:
> http://lists.w3.org/Archives/Public/www-archive/2013Feb/att-0012/test_group_insertRule_option1.html

> So my conclusion is that I'd like to specify the WebKit behavior
> here, i.e., the option1 test above.
> 
> I expect these clarifications should also apply to
> CSSStyleSheet.insertRule as well.

Given the lack of objection so far, I've edited this in to the
editor's draft so that it can be seen in context, and so that the
draft will be ready for publication assuming there's no objection:
https://dvcs.w3.org/hg/csswg/rev/3b40faa91133

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂
Received on Saturday, 9 February 2013 05:46:25 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:05 GMT