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

Re: CSS on invalid HTML

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 4 Jun 2004 23:12:11 +0000 (UTC)
To: Max Romantschuk <max@provico.fi>
Cc: "www-style@w3.org" <www-style@w3.org>
Message-ID: <Pine.LNX.4.58.0406042311290.29062@dhalsim.dreamhost.com>

On Fri, 4 Jun 2004, Max Romantschuk wrote:
>
> Just as an interesting sidenote: I've noticed that Opera (at least
> version 7.5) seems to use a rather fragile parsing engine, as this
> (valid) XHTML tag will cause Opera to mess up it's styling:
>
> <span />
>
> Everything before the tag will be styled correctly, but anything after
> the tag will not be styled.

Do you have a testcase demonstrating this? (My guess is you are sending
the file as text/html, which means that the file must be interpreted as
HTML, not XML, and therefore it is treated as if the "/" wasn't there.)

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 4 June 2004 19:12:36 GMT

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