forked from mirrors/gecko-dev
This excludes dom/, otherwise the file size is too large for phabricator to handle. This is an autogenerated commit to handle scripts loading mochitest harness files, in the simple case where the script src is on the same line as the tag. This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170 using the `--part 2` argument. Differential Revision: https://phabricator.services.mozilla.com/D27456 --HG-- extra : moz-landing-system : lando
35 lines
1.1 KiB
HTML
35 lines
1.1 KiB
HTML
<!DOCTYPE HTML>
|
|
<html>
|
|
<!--
|
|
https://bugzilla.mozilla.org/show_bug.cgi?id=524925
|
|
-->
|
|
|
|
<head>
|
|
<title>Test for Bug 524925</title>
|
|
<script type="application/javascript" src="/MochiKit/MochiKit.js"></script>
|
|
<script src="/tests/SimpleTest/SimpleTest.js"></script>
|
|
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div id="container" style="width: 100px; height: 100px; overflow: auto;">
|
|
<div id="container2" style="width: 100px; height: 100px; overflow: visible;">
|
|
<div id="block" style="width: 50px; height: 50px; background-color: #000; -moz-transform:translatey(0px);"></div>
|
|
</div>
|
|
</div>
|
|
|
|
<pre id="test">
|
|
<script type="application/javascript">
|
|
// Move 'block' 100 pixels downwards.
|
|
var block = document.getElementById("block");
|
|
block.style.MozTransform = "translatey(100px)";
|
|
|
|
// Check the result is correct and finish the test
|
|
var container = document.getElementById("container");
|
|
is(container.scrollHeight, 150, "Overflow areas should update after dynamic transform changes");
|
|
</script>
|
|
</pre>
|
|
|
|
</body>
|
|
</html>
|