summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/reference/stretch-input-in-column-ref.html
blob: 85d2a49e3ec6576dd3d0599c13e56ec453000606 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!DOCTYPE html>
<html>
<link href="../support/flexbox.css" rel="stylesheet">
<style>
.flexbox {
    background-color: grey;
}
.flexbox > * {
    flex: 1;
}
</style>
<body>
<p>This test passes if none of the form controls overflow.</p>
<div class="flexbox">
    <input>
</div>
<div class="flexbox">
    <textarea></textarea>
</div>
<div class="flexbox">
    <input type="button">
</div>
<div class="flexbox">
    <select></select>
</div>
<div class="flexbox">
    <legend style="border: 2px solid black">legend</legend>
</div>
<div class="flexbox">
    <div type="border: 4px solid black; padding: 10px;">
</div>
</body>
</html>