summaryrefslogtreecommitdiffstats
path: root/layout/reftests/bugs/491323-1.xhtml
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--layout/reftests/bugs/491323-1.xhtml23
1 files changed, 23 insertions, 0 deletions
diff --git a/layout/reftests/bugs/491323-1.xhtml b/layout/reftests/bugs/491323-1.xhtml
new file mode 100644
index 0000000000..e255d1d4d3
--- /dev/null
+++ b/layout/reftests/bugs/491323-1.xhtml
@@ -0,0 +1,23 @@
+<?xml version="1.0"?>
+<window xmlns:html="http://www.w3.org/1999/xhtml"
+ xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+ onload="loaded()">
+<hbox flex="1">
+ <html:style>
+ /* Make sure our splitter's background doesn't depend on its hover styles */
+ splitter {
+ background-color: yellow;
+ -moz-appearance: none;
+ }
+ </html:style>
+ <script>
+ function loaded() {
+ document.documentElement.getBoundingClientRect();
+ document.getElementById("s").setAttribute("state", "collapsed");
+ }
+ </script>
+ <iframe width="200" src="data:text/html,hello"/>
+ <splitter collapse="before" resizeafter="farthest" width="200" id="s">
+ </splitter>
+</hbox>
+</window>