W3C home > Mailing lists > Public > www-style@w3.org > October 2008

Re: [CSS21] Spaces, non-breaking spaces, ideographic spaces and the word-spacing property

From: Ambrose Li <ambrose.li@gmail.com>
Date: Wed, 29 Oct 2008 17:04:49 -0400
Message-ID: <af2cae770810291404j68ab75a6vc74e3e2b13bf522a@mail.gmail.com>
To: "Sylvain Galineau" <sylvaing@microsoft.com>
Cc: "www-style@w3.org" <www-style@w3.org>

2008/10/29 Sylvain Galineau <sylvaing@microsoft.com>:
>
> Per CSS 2.1 [1],
>
> "Word spacing affects each space (U+0020), non-breaking space (U+00A0), and ideographic space (U+3000) left in the text after the white space processing rules have been applied."
>
> The simple test case below shows current implementations disagreeing on which type of space word-spacing applies to. I just want to confirm the property does apply to all three spaces.
[...]
>        <p>Test passes if space between Xs is the same on each line</p>
>        <div id="testDiv">X&#12288;X</div>
>        <div id="testDiv">X&nbsp;X</div>
>        <div id="testDiv">X X</div>

It's just my personal opinion, but I feel that

- The non-breaking space behaviour is obviously wrong (but this
behaviour is consistent with the behaviour of many existing things,
including many modern word processors)

- The width of the ideographic spaces is normally significant and
should be the width/height of a CJK character, just in case the space
is used for honorific purposes (in Chinese), or for precise spacing,
for example. I would be horrified to find this CSS rule affecting the
ideographic space, but then I would never allow  such a rule if I knew
it would affect ideographic spaces.


-- 
cheers,
-ambrose

The 'net used to be run by smart people; now many sites are run by
idiots. So SAD... (Sites that do spam filtering on mails sent to the
abuse contact need to be cut off the net...)
Received on Wednesday, 29 October 2008 21:05:28 GMT

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