18 lines
851 B
HTML
18 lines
851 B
HTML
<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> test button </button></div>
|
|
<div><button style="white-space: pre;"> test button </button></div>
|
|
<div><pre><button> test button </button></pre></div>
|