W3C home > Mailing lists > Public > www-style@w3.org > February 2011

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

From: Koji Ishii <kojiishi@gluesoft.co.jp>
Date: Wed, 23 Feb 2011 14:33:26 -0500
To: David Singer <singer@apple.com>, Anne van Kesteren <annevk@opera.com>
CC: W3C style mailing list <www-style@w3.org>, Christoph Päper <christoph.paeper@crissov.de>
Message-ID: <A592E245B36A8949BDB0A302B375FB4E0AB201D49F@MAILR001.mail.lan>
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.


[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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:07:56 UTC