diff --git a/layout/reftests/abs-pos/button-1-ref.html b/layout/reftests/abs-pos/button-1-ref.html
new file mode 100644
index 000000000000..a497de452f4e
--- /dev/null
+++ b/layout/reftests/abs-pos/button-1-ref.html
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
diff --git a/layout/reftests/abs-pos/button-1.html b/layout/reftests/abs-pos/button-1.html
new file mode 100644
index 000000000000..63228fb97bbd
--- /dev/null
+++ b/layout/reftests/abs-pos/button-1.html
@@ -0,0 +1,29 @@
+
+
+
+
+
+
+
+
+
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 000000000000..fd2cc66af1a3
--- /dev/null
+++ b/layout/reftests/abs-pos/button-2-ref.html
@@ -0,0 +1,31 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/layout/reftests/abs-pos/button-2.html b/layout/reftests/abs-pos/button-2.html
new file mode 100644
index 000000000000..4900a29e9802
--- /dev/null
+++ b/layout/reftests/abs-pos/button-2.html
@@ -0,0 +1,32 @@
+
+
+
+
+
+
+
+
+
diff --git a/layout/reftests/abs-pos/reftest.list b/layout/reftests/abs-pos/reftest.list
index 22ed91e6bb49..2c9054fde5c9 100644
--- a/layout/reftests/abs-pos/reftest.list
+++ b/layout/reftests/abs-pos/reftest.list
@@ -14,3 +14,5 @@
== select-2.html select-2-ref.html
== select-3.html select-3-ref.html
== multi-column-1.html multi-column-1-ref.html
+== button-1.html button-1-ref.html
+== button-2.html button-2-ref.html