Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-text/tab-size/tab-size-inline-001.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Text level 3 Test: inline box tab-size</title>
<link rel="match" href="tab-size-inline-001-ref.html">
<meta name="assert" content="tab-size applies to inline boxes">
<style>
div {
font-family: monospace;
white-space: pre;
tab-size: 2;
}
.t5 {
tab-size: 5;
}
.t10 {
tab-size: 10;
}
</style>
<p>Test passes if the three “A” letters below are vertically aligned with eachother.
<div>
A
<span class=t5>		A</span>
<span class=t10>	A</span>
</div>