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

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

From: David Singer <singer@apple.com>
Date: Mon, 21 Feb 2011 09:25:04 -0800
Cc: W3C style mailing list <www-style@w3.org>, Christoph Päper <christoph.paeper@crissov.de>
Message-Id: <03E7E015-D3F9-4C8A-BBD8-2EAA203DB934@apple.com>
To: Anne van Kesteren <annevk@opera.com>

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 Monday, 21 February 2011 17:25:38 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:37 GMT