summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/fieldset/fieldset-flexbox-001.html
blob: b78d28cf599efdd97de0467e04099067f6d05b86 (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
35
36
<!DOCTYPE HTML>
<html>
<body>
<style>
p { flex-grow: 1; }
</style>
<fieldset style="display:flex; overflow:hidden; width:200px; height:200px;">
  <legend>Legend</legend>
  <p>X
  <p>X
  <p>X
  <p>X
  <p>X
  <p>X
  <p>X
  <p>X
  <p>X
  <p>X
  <p>X
</fieldset>
<fieldset style="display:flex;">
  <legend>Legend</legend>
  <p>X
  <p>X
  <p>X
  <p>X
  <p>X
  <p>X
  <p>X
  <p>X
  <p>X
  <p>X
  <p>X
</fieldset>
</body>
</html>