CSS 2.1 text-align:justify issue

http://www.w3.org/TR/CSS21/text.html says
"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."

There are two problems:
1) white-space can apply to inline elements, so this statement doesn't
achieve the apparent intent of disabling text-align:justify on
white-space:pre/pre-line elements. One could have a white-space:normal,
text-align:justify block containing a big lump of white-space:pre content,
or likewise a white-space:pre, text-align:justify block containing
white-space:normal content.
2) Why are pre-line and pre singled out here, but pre-wrap is not? pre-line
without any newlines present behaves just like pre-wrap.

I suggest this be replaced by a statement somewhere that preformatted spaces
may not be stretched by text-align:justify.

Thanks,
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 Monday, 23 June 2008 04:21:31 UTC