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

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

From: Robert O'Callahan <robert@ocallahan.org>
Date: Thu, 14 Aug 2008 14:43:19 +1200
Message-ID: <11e306600808131943k68dce2f6n411b61d4fdce47cb@mail.gmail.com>
To: "Bert Bos" <bert@w3.org>
Cc: "www-style@w3.org" <www-style@w3.org>
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.

"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 Thursday, 14 August 2008 02:46:51 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:39 UTC