summaryrefslogtreecommitdiffstats
path: root/layout/reftests/abs-pos/button-2-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'layout/reftests/abs-pos/button-2-ref.html')
-rw-r--r--layout/reftests/abs-pos/button-2-ref.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/layout/reftests/abs-pos/button-2-ref.html b/layout/reftests/abs-pos/button-2-ref.html
new file mode 100644
index 0000000000..fd2cc66af1
--- /dev/null
+++ b/layout/reftests/abs-pos/button-2-ref.html
@@ -0,0 +1,31 @@
+<!doctype html>
+<html>
+<head>
+<style>
+div {
+position:relative;
+padding:0;
+background:green;
+width: 200px;
+height: 100px;
+border:none;
+text-align: left;
+font: 12px serif;
+}
+div span {
+display:block;
+position:absolute;
+right:0;
+top:0;
+width:10px;
+height:100%;
+background:red;
+}
+</style>
+</head>
+<body>
+<div>
+<span></span>
+</div>
+</body>
+</html>