Re: White space and inline elements

Bjoern Hoehrmann <derhoermi@gmx.net> wrote:

> I suggest to add a new item to section 3.2 of XHTML 1.0 that reads e.g.
> 
> [...]
>   * Leading and trailing whitespace inside an inline element must be
>     moved outside the element content (except when the 'xml:space'
>     attribute is set to 'preserve')

Like Terje, I disagree.

> after white-space normalization. Otherwise the mentioned behaivour would
> be rather conforming and I see no use of this, it's just annoying.

If the directionality of an inline element's content is different, you
might get a completely different rendering on visual user agents by
moving white space.

Regards,
-- 
Masayasu Ishikawa / mimasa@w3.org
W3C - World Wide Web Consortium

Received on Wednesday, 25 July 2001 09:51:55 UTC