W3C home > Mailing lists > Public > public-html-comments@w3.org > March 2008

Re: HTML 4.01 and 5.0: is it somewhat "unspecific" about space characters

From: Paul Waring <pwaring@gmail.com>
Date: Sun, 30 Mar 2008 12:02:06 +0100
Message-ID: <8953a1db0803300402v210d2037h80be724fef33a53f@mail.gmail.com>
To: public-html-comments@w3.org

On 29/03/2008, Kenneth Kin Lum <kenneth.kin.lum@gmail.com> wrote:
> But the fact that practically all designers rely on the fact that those
> space is totally ignored and not a single space is rendered, it can make
> sense to put it into the spec or the recommendation.

It's not up to the specification to say how things are rendered though
- that is up to the browser (or, more specifically, it's rendering
engine - e.g. Gecko) in a similar way to how tags such as <strong> do
not mean that the text will be presented in bold type (unless you have
a CSS rule to enforce this of course). Another example is how some
designers rely on the value of the alt attribute in the img tag being
displayed when the mouse hovers over the image - this behaviour is not
defined in the specification and the rendering differs between
browsers (e.g. Firefox won't render the text when the mouse hovers
over the image).



Paul Waring
Received on Monday, 31 March 2008 06:11:11 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:26:24 UTC