- From: fantasai via GitHub <sysbot+gh@w3.org>
- Date: Tue, 03 Jan 2017 11:24:54 +0000
- To: public-css-archive@w3.org
Tabs are defined to be rendered as a shift in position, not as a grapheme affected by `letter-spacing` or `word-spacing`. https://drafts.csswg.org/css-text/#white-space-phase-2 >Each tab is rendered as a horizontal shift that lines up the start edge of the next glyph with the next tab stop. Tab stops occur at points that are multiples of the tab size from the block’s starting content edge. I can clarify in `letter-spacing` that tabs are not affected, if that is a point of confusion. dbaron wrote: > I don't understand the motivation for accounting for word-spacing, so it's hard for me to tell what was intended. What is accounting for word-spacing supposed to make things line up with? Spaces. Spaces are increased by `word-spacing`, so for tab stops to line up with multiples of spaces, they must account for the width of the space, plus `letter-spacing`, plus `word-spacing`. -- GitHub Notification of comment by fantasai Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/643#issuecomment-270095107 using your GitHub account
Received on Tuesday, 3 January 2017 11:25:01 UTC