This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 22973 - The requirement “with tab stops occurring at points that are multiples of 8 times the width of a U+0020 SPACE character” is unrealistic: such large indentation is seldom useful, and browsers treat [...]
Summary: The requirement “with tab stops occurring at points that are multiples of 8 t...
Status: RESOLVED INVALID
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-15 17:51 UTC by contributor
Modified: 2013-10-28 21:40 UTC (History)
4 users (show)

See Also:


Attachments
Tab size on Chrome Ubuntu (22.59 KB, image/png)
2013-10-28 20:43 UTC, Tab Atkins Jr.
Details

Description contributor 2013-08-15 17:51:07 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/rendering.html
Multipage: http://www.whatwg.org/C#the-title-attribute-0
Complete: http://www.whatwg.org/c#the-title-attribute-0
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/

Comment:
The requirement “with tab stops occurring at points that are multiples of 8
times the width of a U+0020 SPACE character” is unrealistic: such large
indentation is seldom useful, and browsers treat TAB as indenting two
characters only (tested on IE, Firefox, Chrome).

Posted from: 88.114.31.151
User agent: Mozilla/5.0 (Windows NT 6.1; rv:23.0) Gecko/20100101 Firefox/23.0
Comment 1 Ian 'Hixie' Hickson 2013-10-28 20:28:18 UTC
http://www.hixie.ch/tests/adhoc/html/global-attributes/title/003.html

Looks to me like Chrome and Safari on Mac do just over 8 spaces (so 7 spaces + tab renders at the same position as 8 spaces + tab, but 9 spaces + tab is the next tab stop); Firefox on Mac does exactly 8 spaces (so 8 spaces is the same position as 7 spaces + tab, 8 spaces + tab is the next position). IE9 on Windows seems to have a much wider tab, wider than the test above can identify.

Where did you get the two from?
Comment 2 Tab Atkins Jr. 2013-10-28 20:43:14 UTC
Created attachment 1413 [details]
Tab size on Chrome Ubuntu
Comment 3 Ian 'Hixie' Hickson 2013-10-28 20:48:20 UTC
Interesting. That looks like Firefox's Mac behaviour.
Comment 4 Jukka K. Korpela 2013-10-28 21:06:31 UTC
Sorry. It seems that I had tested with a file created by a text editor that converted actual TAB characters to spaces. Checking again, I get, on Windows 7, the same results as Hixie.
Comment 5 Ian 'Hixie' Hickson 2013-10-28 21:40:44 UTC
Aha, ok. Thanks for the follow-up!