blob: d7e44e65fa8b37bb18c076269b4f7ba12b277b6b [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<link href="resources/flexbox.css" rel="stylesheet">
<style>
.scroll { overflow: scroll; }
.abspos { position: absolute; background-color: pink; }
.flexbox { background-color: lightgray; padding: 1px; }
.small { height: 3px; }
</style>
</head><body>
Test for empty buttons, which inherit from RenderFlexibleBox. 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="https://bugs.webkit.org/show_bug.cgi?id=110654"> bug 110654</a>.
<hr>
Simple case.<br>
<button></button><br>
<input type="button"></input><br>
<hr>
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>