Bug 1177018 - Work around the iframe in which mochitests are run not being scrollable. r=kats

--HG--
extra : rebase_source : bd8b7b60bcae3298a523daac9b286fed9b4edefd
extra : source : d94c86ecbc53e8d45729691ac6576fdfbe407cc4
This commit is contained in:
Botond Ballo 2015-06-26 16:46:22 -04:00
Родитель 302be82a9a
Коммит 5d9fcfff8c
1 изменённых файлов: 7 добавлений и 5 удалений

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

@ -14,6 +14,8 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1173580
<style>
#container {
display: flex;
overflow: scroll;
height: 500px;
}
.outer-frame {
height: 500px;
@ -21,7 +23,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1173580
flex-basis: 100%;
background: repeating-linear-gradient(#CCC, #CCC 100px, #BBB 100px, #BBB 200px);
}
#page-content {
#container-content {
height: 200%;
}
</style>
@ -42,11 +44,11 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1173580
</div>
<iframe id="outer3" class="outer-frame" src="helper_iframe1.html"></iframe>
<iframe id="outer4" class="outer-frame" src="helper_iframe2.html"></iframe>
<!-- The container-content div ensures 'container' is scrollable, so the
optimization that layerizes the primary async-scrollable frame on page
load layerizes it rather than its child subframes. -->
<div id="container-content"></div>
</div>
<!-- The page-content div ensures the page is scrollable, so none of the
subframes are layerized by the optimization that layerizes the
primary async-scrollable frame on page load. -->
<div id="page-content"></div>
<pre id="test">
<script type="application/javascript;version=1.7">