Test for bug 428278.

This commit is contained in:
Mats Palmgren 2008-08-07 16:21:10 +02:00
parent 0443739378
commit b98942ebaf
4 changed files with 38 additions and 0 deletions

View File

@ -0,0 +1,10 @@
<!DOCTYPE HTML>
<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head><body>
<table style="outline-color: red; outline-style: solid; outline-width: medium; border:1px solid black">
<tr><td style="border:1px solid blue">resize the window
</table>
</body></html>

View File

@ -0,0 +1,9 @@
<!DOCTYPE HTML>
<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head><body>
<iframe id="x" src="428278-iframe.html" style="width:400px"></iframe>
</body></html>

View File

@ -0,0 +1,18 @@
<!DOCTYPE HTML>
<html><head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head><body onload="foo()">
<iframe id="x" src="428278-iframe.html"></iframe>
<script>
var w = 400;
function foo() {
var div = document.getElementById('x');
div.style.width=w+"px";
++w;
var v = document.offsetHeight;
}
</script>
</body></html>

View File

@ -841,6 +841,7 @@ fails-if(MOZ_WIDGET_TOOLKIT=="gtk2") == 424074-1-ref2.xul 424074-1-ref3.xul
== 427129-table-caption.html 427129-table-caption-ref.html
== 427370-1.html 427370-1-ref.html
== 427730-1.html 427730-1-ref.html
== 428278.html 428278-ref.html
== 428423-1a.html 428423-1-ref.html
== 428423-1b.html 428423-1-ref.html
== 428521-1a.html 428521-1-ref.html