tab-size

The tab-size property defines how many spaces a tab takes.

That’s only relevant if tabs are actually shown, so white-space: pre or pre-wrap is required. Below you see tests for tab-size 4, 8 and 16. The tabs should become wider and wider.

No prefixes

4: This is the test paragraph. It has all kinds of odd tabs and spacing in the HTML source code. Should they be preserved?

8: This is the test paragraph. It has all kinds of odd tabs and spacing in the HTML source code. Should they be preserved?

16: This is the test paragraph. It has all kinds of odd tabs and spacing in the HTML source code. Should they be preserved?

-webkit-

4: This is the test paragraph. It has all kinds of odd tabs and spacing in the HTML source code. Should they be preserved?

8: This is the test paragraph. It has all kinds of odd tabs and spacing in the HTML source code. Should they be preserved?

16: This is the test paragraph. It has all kinds of odd tabs and spacing in the HTML source code. Should they be preserved?

-moz-

4: This is the test paragraph. It has all kinds of odd tabs and spacing in the HTML source code. Should they be preserved?

8: This is the test paragraph. It has all kinds of odd tabs and spacing in the HTML source code. Should they be preserved?

16: This is the test paragraph. It has all kinds of odd tabs and spacing in the HTML source code. Should they be preserved?

-ms-

4: This is the test paragraph. It has all kinds of odd tabs and spacing in the HTML source code. Should they be preserved?

8: This is the test paragraph. It has all kinds of odd tabs and spacing in the HTML source code. Should they be preserved?

16: This is the test paragraph. It has all kinds of odd tabs and spacing in the HTML source code. Should they be preserved?

-o-

4: This is the test paragraph. It has all kinds of odd tabs and spacing in the HTML source code. Should they be preserved?

8: This is the test paragraph. It has all kinds of odd tabs and spacing in the HTML source code. Should they be preserved?

16: This is the test paragraph. It has all kinds of odd tabs and spacing in the HTML source code. Should they be preserved?