4 font-family: monospace;
10 <div><span id=
"one-tab"><span>	</span>word
</span></div>
11 <div><span id=
"two-tabs"><span>	</span><span>	</span>word
</span></div>
12 <script src=
"../../resources/js-test.js"></script>
14 description('Tab characters should never be zero-width.');
16 var oneTabLineWidth
= document
.getElementById("one-tab").getBoundingClientRect().width
;
17 var twoTabLineWidth
= document
.getElementById("two-tabs").getBoundingClientRect().width
;
19 if (oneTabLineWidth
== twoTabLineWidth
) {
20 testFailed("oneTabLineWidth should not be equal to twoTabLineWidth.");
22 testPassed("oneTabLineWidth is not equal to twoTabLineWidth.");