layout/reftests/bugs/428278.html

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/bugs/428278.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,18 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html><head>
     1.6 +<meta http-equiv="content-type" content="text/html; charset=UTF-8">
     1.7 +
     1.8 +
     1.9 +</head><body onload="foo()">
    1.10 +
    1.11 +<iframe id="x" src="428278-iframe.html"></iframe>
    1.12 +<script>
    1.13 +var w = 400;
    1.14 +function foo() {
    1.15 +  var div = document.getElementById('x');
    1.16 +  div.style.width=w+"px";
    1.17 +  ++w;
    1.18 +  var v = document.offsetHeight;
    1.19 +}
    1.20 +</script>
    1.21 +</body></html>

mercurial