summaryrefslogtreecommitdiffstats
path: root/testing/marionette/harness/marionette_harness/www/scroll5.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/marionette/harness/marionette_harness/www/scroll5.html')
-rw-r--r--testing/marionette/harness/marionette_harness/www/scroll5.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/marionette/harness/marionette_harness/www/scroll5.html b/testing/marionette/harness/marionette_harness/www/scroll5.html
new file mode 100644
index 000000000..3dd00721e
--- /dev/null
+++ b/testing/marionette/harness/marionette_harness/www/scroll5.html
@@ -0,0 +1,20 @@
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+ - License, v. 2.0. If a copy of the MPL was not distributed with this
+ - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<html>
+<head></head>
+<body>
+ <script>
+ function dump(text) {
+ document.getElementById('clicked').innerHTML = text;
+ }
+ </script>
+ <div style='overflow: scroll; width: 150px; height: 200px; background-color: yellow' id="outer">
+ <div style="width: 150px; height: 5000px; background-color: red;" onclick="dump('clicked')" id="inner"></div>
+ </div>
+ <div>
+ Clicked: <span id='clicked'></span>
+ </div>
+</body>
+</html>