W3C home > Mailing lists > Public > www-html@w3.org > March 2005

XHTML (was Re: Wrapping paragraph text around blocks)

From: Edward Lass <elass@goer.state.ny.us>
Date: Fri, 25 Mar 2005 09:41:58 -0500
Message-Id: <s243dd00.009@mail.goer.state.ny.us>
To: <www-html@w3.org>

I hadn't looked at this particular situation and rather responded to the
general principle, so you may be right in this case.

Regarding the p element, IE's tag soup parser has no problem ignoring
the XML trailing slashes, which it doesn't regard as any sort of valid
construct. The same would happen in this situation. The major browser
will get the semantics wrong, but the content will still come across. I
don't think the sky would fall.

But back to the general: I'm not "planning to continue the abuse," as
if it's some sort of diabolical scheme on my part to make sure that web
standards aren't as good as they should be. On the other hand, I regard
interim solutions that reach a wider market share to be a positive
outcome. The W3C has appropriately done this in the past with its
Transitional doctypes. I'm simplying endorsing that thought. I wouldn't
mind seeing the working group move the bar on that transition. The next
Transitional doctype can remove most of the presentation tags
(especially the most egregious, like font) but still tolerate
imperfections in other areas, such as use of the wrong MIME type or the
redundant lang attribute alongside xml:lang.

- Ed.

>>> Anne van Kesteren <fora@annevankesteren.nl> 3/24/2005 6:05:47 PM
>>>

That wouldn't work with existing user agents like Internet Explorer.
(If 
you are planning to continue the abuse of the HTML MIME type.) As 
Internet Explorere has an HTML (tag soup) parser and not a parser that

can handle XHTML it will assume a </p> when it enounters a block level

element, just like other existing UAs do for text/html documents which

is also compliant with the HTML 4 specification.

However, I don't think having the list inside the paragraph is the 
proper solution for this particular situation.
Received on Friday, 25 March 2005 14:42:08 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 27 March 2012 18:16:02 GMT