aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/ref/basic.list1
-rw-r--r--tests/ref/input_button_margins_a.html11
-rw-r--r--tests/ref/input_button_margins_ref.html12
3 files changed, 24 insertions, 0 deletions
diff --git a/tests/ref/basic.list b/tests/ref/basic.list
index 6d5bba85d1e..3f6c6c6316f 100644
--- a/tests/ref/basic.list
+++ b/tests/ref/basic.list
@@ -170,6 +170,7 @@ experimental == iframe/size_attributes_vertical_writing_mode.html iframe/size_at
# inline_text_align_a.html inline_text_align_b.html
== inline_whitespace_a.html inline_whitespace_ref.html
== inline_whitespace_b.html inline_whitespace_ref.html
+== input_button_margins_a.html input_button_margins_ref.html
== input_button_size_a.html input_button_size_ref.html
!= input_height_a.html input_height_ref.html
== inset.html inset_ref.html
diff --git a/tests/ref/input_button_margins_a.html b/tests/ref/input_button_margins_a.html
new file mode 100644
index 00000000000..b35a3b5ccb6
--- /dev/null
+++ b/tests/ref/input_button_margins_a.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<style>
+body, html {
+ margin: 0;
+}
+input {
+ margin-left: 64px;
+}
+</style>
+<input type=button value=Hello>
+
diff --git a/tests/ref/input_button_margins_ref.html b/tests/ref/input_button_margins_ref.html
new file mode 100644
index 00000000000..07ecda7c227
--- /dev/null
+++ b/tests/ref/input_button_margins_ref.html
@@ -0,0 +1,12 @@
+<!DOCTYPE html>
+<style>
+body, html {
+ margin: 0;
+}
+input {
+ position: absolute;
+ left: 64px;
+}
+</style>
+<input type=button value=Hello>
+