You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<metaname="assert" content="For the tab-size property, a <number> represents the measure as a multiple of the space character’s advance width (U+0020) including its associated letter-spacing and word-spacing">
<style>
div {
font-family: monospace; /* so we can compare tab with a count of preserved spaces */
white-space: pre;
}
.test {
word-spacing:1ch; /* effectively double the size of SPACE, and hence of tabs */
tab-size:3;
}
.ref1 {
word-spacing:1ch;
}
.ref2 {
white-space: pre;
}
</style>
<p>Test passes if the "1"s all line up vertically: