diff options
Diffstat (limited to 'layout/reftests/forms/fieldset/fieldset-height-resize-1.html')
-rw-r--r-- | layout/reftests/forms/fieldset/fieldset-height-resize-1.html | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/layout/reftests/forms/fieldset/fieldset-height-resize-1.html b/layout/reftests/forms/fieldset/fieldset-height-resize-1.html new file mode 100644 index 0000000000..89848b3931 --- /dev/null +++ b/layout/reftests/forms/fieldset/fieldset-height-resize-1.html @@ -0,0 +1,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> |