W3C home > Mailing lists > Public > www-style@w3.org > March 2013

Re: [css3-text] should 'tab-size' be in spaces or '0' characters?

From: Liam R E Quin <liam@w3.org>
Date: Mon, 25 Mar 2013 23:51:15 -0400
To: Bjoern Hoehrmann <derhoermi@gmx.net>
Cc: "L. David Baron" <dbaron@dbaron.org>, www-style@w3.org
Message-ID: <1364269875.23240.182.camel@localhost.localdomain>
On Tue, 2013-03-26 at 03:50 +0100, Bjoern Hoehrmann wrote:
> * L. David Baron wrote:
> >http://dev.w3.org/csswg/css3-text/#tab-size defines a 'tab-size'
> >property taking an integer to be multiplied by the advance width of
> >the space (U+0020) character.
> 
> >Should 'tab-size' instead use the '0' width rather than the ' '
> >width?  I think I would prefer such a change.

One en (i.e. M/2) would be both more usual and less surprising.

The problem with basing tab widths on the current font is that users of
"wysiwyg" tools may accidentally have an "italic tab" that then wouldn't
line up properly.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml
Received on Tuesday, 26 March 2013 03:51:27 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:21:07 GMT