blob: 7f25147fde712489304083e16819c1167367aded [file] [log] [blame]
<p><a href="https://bugs.webkit.org/show_bug.cgi?id=5656">Bug 5656</a>
tests whether buttons force a white-space mode or not.
These tests will only pass if the white-space mode is not forced and if it is inherited.</p>
<div>Buttons should appear next to each other in a single row:</div>
<table>
<td nowrap>
<button value="Search Mail">Search Mail</button>
<button value="Search the Web" style="white-space:nowrap">Search the Web</button>
</td>
</table>
<div>Buttons should look identical:</div>
<div><button>test button</button></div>
<div><button> test button </button></div>
<div>Buttons should look identical (ignore vertical spacing):</div>
<div><button>&nbsp;&nbsp;test&nbsp;&nbsp;button&nbsp;&nbsp;</button></div>
<div><button style="white-space: pre;"> test button </button></div>
<div><pre><button> test button </button></pre></div>