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

On 06/17/2013 08:31 AM, John Daggett wrote:
> 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