Re: CSS 2.1 text-align:justify issue [CSS2.1] [css3-text]

On Fri, Aug 15, 2008 at 2:32 AM, fantasai <>wrote:

> Robert O'Callahan wrote:
>> On Sat, Jul 26, 2008 at 2:26 AM, Bert Bos < <mailto:
>>>> wrote:
>>    In 16.2, replace
>>       If the computed value of text-align is 'justify' while the computed
>>       value of white-space is 'pre' or 'pre-line', the actual value of
>>       text-align is set to the initial value.
>>    with
>>       If the computed value of 'text-align' is 'justify' and the computed
>>       value of white-space is 'pre', 'pre-line' or 'pre-wrap', then the
>>       actual value of 'text-align' is set to the initial value.
>> This seems unnecessary, why not just get rid of it?
> It makes a difference for
> <p style="text-align: justify; white-space: pre">Some text here
> <span style="white-space: normal">Some more text here</span></p>

Right. So it changes behaviour, but why is that behaviour change necessary?
I see no fundamental reason why the spaces in the span should not be

BTW, we need testcases for this issue. Do you have any handy?

Not for this exact issue, no.

"He was pierced for our transgressions, he was crushed for our iniquities;
the punishment that brought us peace was upon him, and by his wounds we are
healed. We all, like sheep, have gone astray, each of us has turned to his
own way; and the LORD has laid on him the iniquity of us all." [Isaiah

Received on Friday, 15 August 2008 03:33:53 UTC