- From: Boris Zbarsky <bzbarsky@MIT.EDU>
- Date: Fri, 25 Mar 2011 17:19:17 -0400
- To: Bjoern Hoehrmann <derhoermi@gmx.net>
- CC: Alan Gresley <alan@css-class.com>, CSS 3 W3C Group <www-style@w3.org>
On 3/25/11 2:50 AM, Bjoern Hoehrmann wrote: > * Alan Gresley wrote: >> What I found interesting is that in IE8 and IE9, the remainder of the >> style-sheet is thrown out. The pertinent CSS is this. >> >> p [ background: red } >> .test1 { background: green } >> .test2 { background: green } > > Some time ago the CSS Working Group decided to change slash clarify the > specification to require {[()]} matching when parsing selectors. Since > all "open constructs" close when hitting the end of the style sheet this > is parsed as `p [ ... ]` which is invalid and thus ignored. Indeed. This will be fixed in Gecko 2.2 as well, for what it's worth [1]. -Boris [1] https://bugzilla.mozilla.org/show_bug.cgi?id=616137
Received on Friday, 25 March 2011 21:19:52 UTC