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

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 UTC