summaryrefslogtreecommitdiffstats
path: root/layout/reftests/scrolling/iframe-deferred-anchor.xhtml
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/scrolling/iframe-deferred-anchor.xhtml')
-rw-r--r--layout/reftests/scrolling/iframe-deferred-anchor.xhtml13
1 files changed, 13 insertions, 0 deletions
diff --git a/layout/reftests/scrolling/iframe-deferred-anchor.xhtml b/layout/reftests/scrolling/iframe-deferred-anchor.xhtml
new file mode 100644
index 000000000..f47d0bf01
--- /dev/null
+++ b/layout/reftests/scrolling/iframe-deferred-anchor.xhtml
@@ -0,0 +1,13 @@
+<?xml version="1.0"?>
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" style="overflow:hidden">
+<head>
+<script>document.location.hash = "#d";</script>
+</head>
+<body style="margin: 0; background-color: white;">
+<div style="height: 50px; width: 50px; background-color: red;"/>
+<div style="height: 1000px;"/>
+<div id="d" style="height: 50px; width: 50px; background-color: green;"/>
+<div style="height: 1000px;"/>
+</body>
+</html>