blob: d3e7231757ca4b00b35be7d3fff6acb6b52b0578 [file] [log] [blame]
<!DOCTYPE html>
<link href="resources/flexbox.css" rel="stylesheet">
.scroll { overflow: scroll; }
.abspos { position: absolute; background-color: pink; }
.flexbox { background-color: lightgray; padding: 1px; }
.small { height: 3px; }
Test for empty buttons, which inherit from LayoutFlexibleBox. Empty
&lt;input&gt; buttons should not collapse, which makes them different from most
flex boxes. Empty &lt;button&gt;s should collapse. Note <a
href=""> bug 110654</a>.
Simple case.<br>
<input type="button"></input><br>
Empty &lt;button&gt; and &lt;input type=button&gt; with overflow: scroll;.
The presence of the scrollbar should not shrink the button.<br>
<button class="scroll"></button><br>
<input type="button" class="scroll"></input><br>