22 lines
725 B
HTML
22 lines
725 B
HTML
<style>
|
|
input { -webkit-appearance: none; }
|
|
</style>
|
|
<p>
|
|
Test that search field text is vertically centered if the search field is
|
|
taller than the text. In each of the following pairs of a search field and
|
|
a text field, the vertical position of the text should be the
|
|
same in both fields.
|
|
</p>
|
|
<p>
|
|
<input type="search" value="Text" results style="height: 45px;">
|
|
<input type="text" value="Text" style="height: 45px;">
|
|
</p>
|
|
<p>
|
|
<input type="search" value="Text" results style="height: 16px;">
|
|
<input type="text" value="Text" style="height: 16px;">
|
|
</p>
|
|
<p>
|
|
<input type="search" value="Text" results style="height: 12px;">
|
|
<input type="text" value="Text" style="height: 12px;">
|
|
</p>
|