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

On Sat, Jul 26, 2008 at 2:26 AM, Bert Bos <bert@w3.org> 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?

   If an element has a computed value for 'white-space'
>    of 'pre', 'pre-line' or 'pre-wrap', then neither the glyphs in that
>    element nor the spaces between them must be stretched or shrunk for
>    the purposes of justification.


Sounds good, but why include 'pre-line' there? IMHO spaces in pre-line text
should be able to stretch for justification.

Rob
-- 
"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
53:5-6]

Received on Thursday, 14 August 2008 02:46:51 UTC