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

--HG--
extra : rebase_source : 3762605a782098d5d804342766d4ca6ad971fdf8
This commit is contained in:
Xidorn Quan 2017-08-10 21:47:58 +10:00
Родитель 958f58c18c
Коммит 8a83084796
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -30,10 +30,9 @@
</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>