summaryrefslogtreecommitdiffstats
path: root/layout/reftests/scrolling/propagated-overflow-style-2a.html
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@gmail.com>2018-04-25 01:44:14 +0200
committerwolfbeast <mcwerewolf@gmail.com>2018-04-25 01:44:14 +0200
commitfe8155c118c4d536c048957156a1473a8595ab8d (patch)
treebd7863368d6072ed3ac75126f80a09b11346c3c7 /layout/reftests/scrolling/propagated-overflow-style-2a.html
parentfcfd61829a1edd8519e3965f201f575d70a84239 (diff)
parenta203f449bbc01f97564b7c5e2272b06a9569d7b4 (diff)
downloadUXP-fe8155c118c4d536c048957156a1473a8595ab8d.tar
UXP-fe8155c118c4d536c048957156a1473a8595ab8d.tar.gz
UXP-fe8155c118c4d536c048957156a1473a8595ab8d.tar.lz
UXP-fe8155c118c4d536c048957156a1473a8595ab8d.tar.xz
UXP-fe8155c118c4d536c048957156a1473a8595ab8d.zip
Merge branch 'master' of https://github.com/MoonchildProductions/UXP
Diffstat (limited to 'layout/reftests/scrolling/propagated-overflow-style-2a.html')
-rw-r--r--layout/reftests/scrolling/propagated-overflow-style-2a.html26
1 files changed, 26 insertions, 0 deletions
diff --git a/layout/reftests/scrolling/propagated-overflow-style-2a.html b/layout/reftests/scrolling/propagated-overflow-style-2a.html
new file mode 100644
index 000000000..250bedd6c
--- /dev/null
+++ b/layout/reftests/scrolling/propagated-overflow-style-2a.html
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html class="reftest-wait">
+<head>
+ <title>
+ Testcase with only one of [html,body] being scrollable,
+ after body's "overflow" is reset dynamically.
+ </title>
+ <style>
+ html {
+ overflow: scroll;
+ }
+ body {
+ overflow: scroll;
+ }
+ </style>
+ <script>
+ function doTest() {
+ document.body.style.overflow = "visible";
+ document.documentElement.removeAttribute("class");
+ }
+ window.addEventListener("MozReftestInvalidate", doTest);
+ </script>
+</head>
+<body>
+</body>
+</html>