RE: [css3-text] Tab U+0009 expansions to 8 spaces

Thank you all for the information for the implementations. We have added the property to the Editor's Draft[1].

We didn't add <length> version though, as existing implementations don't support it, and we could add it in future if we've got enough interests from implementers.


Regards,
Koji

[1] http://dev.w3.org/csswg/css3-text/#tab-size

-----Original Message-----
From: www-style-request@w3.org [mailto:www-style-request@w3.org] On Behalf Of David Singer
Sent: Tuesday, February 22, 2011 2:25 AM
To: Anne van Kesteren
Cc: W3C style mailing list; Christoph Päper
Subject: Re: [css3-text] Tab U+0009 expansions to 8 spaces


On Feb 21, 2011, at 4:22 , Anne van Kesteren wrote:

> On Mon, 21 Feb 2011 13:15:25 +0100, Christoph Päper <christoph.paeper@crissov.de> wrote:
>> Robert O'Callahan:
>>> Gecko already supports a "-moz-tab-size: <number>" property.
>> 
>> Wouldn't <length> be more useful, preferably given with proposed unit 'ch'?
> 
> No need to make something simple so complex. Tab expansion is defined as number of spaces pretty much universally.

It's pretty universally defined to allow for vertical alignment.  That's pretty rarely a fixed number of spaces, specially when spaces have a 'soft' width (e.g. in justified-right text).  Even microsoft word sets them on a regular ruler...


David Singer
Multimedia and Software Standards, Apple Inc.

Received on Wednesday, 23 February 2011 19:33:35 UTC