W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2016

[csswg-drafts] [css-text] Clarify how letter-spacing and word-spacing should affect tab-size.

From: wisniewskit via GitHub <sysbot+gh@w3.org>
Date: Tue, 25 Oct 2016 04:52:46 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-185018583-1477371165-sysbot+gh@w3.org>
wisniewskit has just created a new issue for 

== [css-text] Clarify how letter-spacing and word-spacing should 
affect tab-size. ==
Recently it was 
 that letter-spacing and word-spacing should affect tab-size, as per 

>tab stops are calculated as
>   n*( width of U+0020 plus letter-spacing plus word-spacing)

But this seems strange to me, as tab characters are already affected 
by letter-spacing, aren't they? (That's what I'm seeing while playing 
around in devtools in Firefox and Chrome). Why count letter-spacing 
twice for tabs?

In addition, tabs [aren't word-separators in the 
which also states:

>If there are no word-separator characters, or if a word-separating 
character has a zero advance width (such as the zero width space 
U+200B) then the user agent must not create an additional spacing 
between words.

How is this meant to be reconciled? Should the word-spacing be applied
 regardless of whether there are word-separator characters in the run?

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/643 using your GitHub 
Received on Tuesday, 25 October 2016 04:52:53 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:04 UTC