RE: [css3-text] proposed value for text-align: no-justify

The 'none' value is now added to the 'text-justify' property[1] as suggested by Tab[2].

Thank you for the valuable feedback, and thank you for the great suggestion.


[1] http://dev.w3.org/csswg/css3-text/#text-justify
[2] http://lists.w3.org/Archives/Public/www-style/2010Oct/0268.html


Regards,
Koji

-----Original Message-----
From: www-style-request@w3.org [mailto:www-style-request@w3.org] On Behalf Of Belov, Charles
Sent: Friday, October 15, 2010 8:30 AM
To: www-style@w3.org
Cc: Tab Atkins Jr.
Subject: RE: [css3-text] proposed value for text-align: no-justify

Tab Atkins Jr. [mailto:jackalmage@gmail.com] wrote at Thursday, October 14, 2010 4:08 PM
> On Thu, Oct 14, 2010 at 3:10 PM, Belov, Charles 
> <Charles.Belov@sfmta.com> wrote:
> > Tab Atkins Jr. [mailto:jackalmage@gmail.com] wrote on
> October 14, 2010
> > 2:06 PM:
> > This is an attempt to allow the user style sheet to override all 
> > website uses of 'text-align: justify' with 'text-align: start', 
> > without having to do this on a case-by-case basis, and
> without overriding 'text-align:
> > center'.
> >
> > The use case is for an end-user who has trouble reading
> text which is
> > justified.
> >
> > The goal would be to be able to code in a user style sheet:
> >
> > * {
> >        text-align: no-justify ! important; }
> >
> > So that all justified text would become left-justified for
> LTR text or
> > right-justified for RTL text.
> >
> > However, centered text would remain centered.
> 
> The only way to do this in CSS would be to have some additional 
> property which switches the behavior of "text-align-justify".
> Luckily, this already exists!
> http://dev.w3.org/csswg/css3-text/#text-justify
> 
> I guess, then, you'd like that property to have a "none" value?

That does seem like the simplest solution.  Yes, thanks.  So the user style sheet could contain:

* {
	text-justify: none ! important;
}

which would disable text justification without affecting anything else.


Hope this helps,
Charles Belov
SFMTA Webmaster
 

Received on Tuesday, 14 December 2010 11:55:14 UTC