зеркало из https://github.com/mozilla/gecko-dev.git
38 строки
633 B
HTML
38 строки
633 B
HTML
<!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>
|