- From: Ian Hickson <ian@hixie.ch>
- Date: Mon, 9 Feb 2004 22:58:04 +0000 (UTC)
- To: Boris Zbarsky <bzbarsky@MIT.EDU>
- Cc: Bert Bos <bert@w3.org>, www-style@w3.org
On Mon, 9 Feb 2004, Boris Zbarsky wrote:
>
> I'm afraid that it does not in fact work. Per that grammar, the
> following is a valid stylesheet production:
>
> <!--
> font { color: red } -->
> <!-- div { display: block }
> --> --> --> span { display: inline }
> <!--
>
> which should result in three rules being parsed. That can't really be
> what's intended
Why not?
> and I doubt any UA will implement it that way;
Mozilla and Opera pass that test:
http://www.hixie.ch/tests/adhoc/css/parsing/core-syntax/cdocdc/001.html
...and also a test for the same thing that I wrote in 1998 or so:
http://www.hixie.ch/tests/evil/mixed/cdocdc.html
I don't really understand the problem here.
--
Ian Hickson )\._.,--....,'``. fL
U+1047E /, _.. \ _\ ;`._ ,.
http://index.hixie.ch/ `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 9 February 2004 17:58:11 UTC