mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 07:13:20 +00:00
a69ee36518
When an <iframe> element has focus and its sub document isn't scrollable, the parent document should be scrolled instead. MozReview-Commit-ID: 5LSVDHDQGtI --HG-- extra : rebase_source : 0b22a426ef0e4ab662c941f6bc759679c1b92b19
38 lines
970 B
HTML
38 lines
970 B
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<!--
|
|
https://bugzilla.mozilla.org/show_bug.cgi?id=1369072
|
|
-->
|
|
<head>
|
|
<title>Test for Bug 1369072</title>
|
|
<script type="text/javascript" src="/MochiKit/MochiKit.js"></script>
|
|
<script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
|
|
<script type="text/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
|
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css" />
|
|
</head>
|
|
<body>
|
|
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1369072">Mozilla Bug 1369072</a>
|
|
<p id="display"></p>
|
|
<div id="content" style="display: none">
|
|
</div>
|
|
<pre id="test">
|
|
<script class="testbody" type="text/javascript">
|
|
|
|
/** Test for Bug 1369072 **/
|
|
|
|
SimpleTest.waitForExplicitFinish();
|
|
|
|
var subWin = window.open("window_bug1369072.html", "_blank",
|
|
"width=500,height=500");
|
|
|
|
function finish()
|
|
{
|
|
subWin.close();
|
|
SimpleTest.finish();
|
|
}
|
|
|
|
</script>
|
|
</pre>
|
|
</body>
|
|
</html>
|