summaryrefslogtreecommitdiffstats
path: root/layout/reftests/native-theme/676387-1.xul
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/native-theme/676387-1.xul')
-rw-r--r--layout/reftests/native-theme/676387-1.xul12
1 files changed, 12 insertions, 0 deletions
diff --git a/layout/reftests/native-theme/676387-1.xul b/layout/reftests/native-theme/676387-1.xul
new file mode 100644
index 000000000..4f1a084b9
--- /dev/null
+++ b/layout/reftests/native-theme/676387-1.xul
@@ -0,0 +1,12 @@
+<?xml version="1.0"?>
+<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
+<window id="window676387-1"
+ class="reftest-wait"
+ xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
+ onload="var button = document.getElementById('button');
+ var r = button.getBoundingClientRect();
+ if (document.elementFromPoint(r.right, r.top) == button.parentNode)
+ button.label = 'SUCCESS';
+ document.documentElement.className = '';">
+ <hbox><button id="button" label="FAIL"/></hbox>
+</window>