Bug 1389041 - Move the iframes out from display tree in test_value_computation.html. r?heycam
We filp the display value of display tree after each property, which
means if we put the iframes there, we are rebuilding style for the
two subdocuments repeatedly. This doesn't really make sense. We are
flipping display tree for restoring #elementf, not for the iframes.
MozReview-Commit-ID: B9bRDrlt0HJ
--- a/layout/style/test/test_value_computation.html
+++ b/layout/style/test/test_value_computation.html
@@ -25,20 +25,19 @@
var load_count = 0;
function load_done() {
if (++load_count == 3)
run_tests();
}
</script>
</head>
<body>
-<p id="display"><span><span id="elementf"></span></span>
<iframe id="unstyledn" src="unstyled.xml" height="10" width="10" onload="load_done()"></iframe>
<iframe id="unstyledf" src="unstyled-frame.xml" height="10" width="10" onload="load_done()"></iframe>
-</p>
+<p id="display"><span><span id="elementf"></span></span></p>
<div id="content" style="display: none">
<div><span id="elementn"></span></div>
</div>
<pre id="test">
<script class="testbody" type="text/javascript">