summaryrefslogtreecommitdiffstats
path: root/layout/reftests/forms/input/checkbox/gtk-theme-width-height.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/forms/input/checkbox/gtk-theme-width-height.html')
-rw-r--r--layout/reftests/forms/input/checkbox/gtk-theme-width-height.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/layout/reftests/forms/input/checkbox/gtk-theme-width-height.html b/layout/reftests/forms/input/checkbox/gtk-theme-width-height.html
new file mode 100644
index 000000000..456864e95
--- /dev/null
+++ b/layout/reftests/forms/input/checkbox/gtk-theme-width-height.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <meta charset="utf-8">
+ <title>Testcase for bug 932506</title>
+ <style>
+
+input { outline:1px solid black; }
+
+</style>
+</head>
+<body>
+
+<div style="overflow:hidden; width:160px;">
+ <div style="float:left; width:799px; border:1px solid blue;">
+ <input type="checkbox" checked style="width:400px; outline:none;">
+ <input type="checkbox" checked style="width:400px; height:100px; outline:none;">
+ </div>
+</div>
+
+<input type="checkbox" checked style="width:400px; height:1px;"><br>
+<input type="checkbox" checked style="width:1px; height:100px;"><br>
+<input type="checkbox" checked style="width:1px; height:1px;"><br>
+
+<input type="checkbox" checked style="width:400px; height:0;"><br>
+<input type="checkbox" checked style="width:0; height:100px;"><br>
+<input type="checkbox" checked style="width:0; height:0;"><br>
+
+</body>
+</html>