W3C home > Mailing lists > Public > public-html@w3.org > December 2012

Re: HTML 5.1 Use Cases

From: Robin Berjon <robin@w3.org>
Date: Tue, 18 Dec 2012 09:46:38 +0100
Message-ID: <50D02D6E.6030904@w3.org>
To: "Thomas A. Fine" <fine@head.cfa.harvard.edu>
CC: public-html@w3.org
On 17/12/2012 19:55 , Thomas A. Fine wrote:
> But it doesn't work because:
>    * The common practice of using &nbsp; fails because this is not
> collapsed and can break the justified text either on the right, or on
> the left depending on where the non-breaking space was used (see default
> blogger post editor behavior, which preserves extra spaces using &nbsp;
> but disrupts the left margin in left-justified text).
>    * Using other space entities may avoid that issue but the use of any
> space entity still fails to give fine-grained CSS control of the
> formatting.
>    * Using spans for each sentence with CSS and the box model also
> breaks justification, because the extra space added in a box model also
> fails to collapse at line breaks.
>    * Using spans with CSS and the word-spacing parameter solves the
> justification problems but it inverts the expected CSS hierarcy for
> controlling layout, setting the word-spacing to the sentence size as a
> more global value and overriding it locally for every single contained
> element to set the word-spacing back to what is actually desired for
> word spacing.

That sounds like a potential use case, but it's entirely about styling. 
The venue for that is the CSS WG, on www-style.

-- 
Robin Berjon - http://berjon.com/ - @robinberjon
Received on Tuesday, 18 December 2012 08:46:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 18 December 2012 08:46:53 GMT