summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/fieldset/fieldset-height-resize-1.html
blob: 89848b3931fc272aaf8e6317ee182dcb547fc115 (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
37
<!DOCTYPE html>
<html>
<head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Testcase, bug 1576864</title>
  <meta name="viewport" content="width=device-width, initial-scale=1">

  <style>

  fieldset {
    background: aqua;
    color: black;
    position: absolute;
    top: 20px;
    left: 20px;
  }

  </style>

  <script>

    window.onload=function(){
      document.body.offsetHeight;
      document.getElementById("set").style.height = "200px";
    }

  </script>

</head>
<body>

<fieldset id="set" style="width:200px; height:40px;">
  This should be in a square.
</fieldset>

</body>
</html>