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

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

From: L. David Baron via GitHub <sysbot+gh@w3.org>
Date: Thu, 22 Dec 2016 23:41:03 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-268914986-1482450062-sysbot+gh@w3.org>
A few thoughts here (basically crossposting from the [Gecko 
bug](https://bugzilla.mozilla.org/show_bug.cgi?id=1308113)):

* Tabs currently get one <code>letter-spacing</code> already.  So I 
think integer values of <code>tab-size</code> should account for 
letter-spacing by using the formula: <blockquote>N*(width of U+0020) +
 (N-1)*letter-spacing</blockquote>
* I don't understand the motivation for accounting for 
<code>word-spacing</code>, so it's hard for me to tell what was 
intended.  What is accounting for <code>word-spacing</code> supposed 
to make things line up with?

-- 
GitHub Notification of comment by dbaron
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/643#issuecomment-268914986 
using your GitHub account
Received on Thursday, 22 December 2016 23:41:04 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:27 UTC