summaryrefslogtreecommitdiffstats
path: root/layout/reftests/image-element/element-paint-native-widget.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/image-element/element-paint-native-widget.html')
-rw-r--r--layout/reftests/image-element/element-paint-native-widget.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/layout/reftests/image-element/element-paint-native-widget.html b/layout/reftests/image-element/element-paint-native-widget.html
new file mode 100644
index 0000000000..bdcadcc2ac
--- /dev/null
+++ b/layout/reftests/image-element/element-paint-native-widget.html
@@ -0,0 +1,21 @@
+<!--
+ Any copyright is dedicated to the Public Domain.
+ http://creativecommons.org/licenses/publicdomain/
+
+ Test if native widgets are painted correctly.
+-->
+<html>
+<body>
+ <div style="width:100%; height:100%; background:-moz-element(#w) no-repeat;"></div>
+ <div style="overflow:hidden; height:0;">
+ <div id="w">
+ <input type="text"/>
+ <div style="width:100px; height:100px; overflow:scroll;">
+ In 1629, Isaac Beeckman proposed an experiment in which a person would
+ observe the flash of a cannon reflecting off a mirror about one mile
+ (1.6 km) away.
+ </div>
+ </div>
+ </div>
+</body>
+</html>