W3C home > Mailing lists > Public > www-style@w3.org > June 2013

Re: [css3-text] text-justify should apply to inline elements

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 17 Jun 2013 14:58:20 +0900
Message-ID: <51BEA57C.2010601@inkedblade.net>
To: www-style@w3.org
On 06/17/2013 08:31 AM, John Daggett wrote:
> http://dev.w3.org/csswg/css-text/#justification
> The CSS3 Text model of text justification is that precise behavior
> 'text-align: justify' is determined by the value of the 'text-justify'
> property.  The "Applies to" field of 'text-align' says "block
> containers" while for 'text-justify' it says "block containers and,
> optionally, inline elements".  The property description for
> 'text-justify' also has the following sentence:
> # The property applies to block containers, but the UA may (but is not
> # required to) also support it on inline elements.
> Other than that, no hint is given as to how an inline element would
> perform justification.

It's not about having an inline element perform justification;
justification is still performed across the entire line/block.
However, if you support 'text-justify' on an inline element,
it means you can change the rules that determine where expansion
opportunities are within that element.

Received on Monday, 17 June 2013 05:58:50 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:28 UTC