summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-absolute-overflow.html
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-absolute-overflow.html')
-rw-r--r--third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-absolute-overflow.html37
1 files changed, 37 insertions, 0 deletions
diff --git a/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-absolute-overflow.html b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-absolute-overflow.html
new file mode 100644
index 0000000..759b03f
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-absolute-overflow.html
@@ -0,0 +1,37 @@
+<html>
+<head>
+<style>
+ body {
+ overflow: hidden;
+ }
+
+ iframe {
+ position: absolute;
+ top: 0px;
+ left: 0px;
+ width: 400px;
+ height: 400px;
+ border: none;
+ }
+
+ #layertree {
+ position: absolute;
+ top: 10000px;
+ left: 0px;
+ }
+</style>
+<script>
+ function doTest() {
+ if (window.layoutTestController) {
+ document.getElementById('layertree').innerText = layoutTestController.layerTreeAsText();
+ layoutTestController.dumpAsText(true);
+ }
+ }
+ window.addEventListener('load', doTest, false);
+</script>
+<body>
+ <iframe src="rtl-absolute-overflow.html"></iframe>
+
+ <pre id="layertree"></pre>
+</body>
+</html>