summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/css3/flexbox/stretch-input-in-column-expected.html
blob: 0c24f9f2929ea8aba2d0da169003efe6d63c7a4a (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
34
<!DOCTYPE html>
<html>
<link rel="stylesheet" href="resources/flexbox.css">
<style>
.flexbox {
    background-color: grey;
}
.flexbox > * {
    -webkit-flex: 1;
    -moz-flex: 1;
}
</style>
<body>
<p>Form controls that are stretched in a column flexbox should not overflow the flexbox.</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>