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

Re: [CSS21] response to issue 40

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
Message-ID: <Pine.LNX.4.58.0402092217060.9897@dhalsim.dreamhost.com>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:26 GMT