diff --git a/resources/servo.css b/resources/servo.css
index cdeff0c0ff0..77d05782725 100644
--- a/resources/servo.css
+++ b/resources/servo.css
@@ -1,3 +1,4 @@
+input, select { display: inline-block; }
input { background: white; min-height: 1.0em; padding: 0em; padding-left: 0.25em; padding-right: 0.25em; border: solid lightgrey 1px; color: black; white-space: nowrap; }
input[type="button"],
input[type="submit"],
diff --git a/tests/ref/iframe/multiple_external.html b/tests/ref/iframe/multiple_external.html
index 870bef5ba2d..7daac996435 100644
--- a/tests/ref/iframe/multiple_external.html
+++ b/tests/ref/iframe/multiple_external.html
@@ -7,6 +7,7 @@
float: left;
width: 300px;
height: 300px;
+ border: none;
}
diff --git a/tests/ref/iframe/overflow.html b/tests/ref/iframe/overflow.html
index 64456f1b418..405ee9fa8e6 100644
--- a/tests/ref/iframe/overflow.html
+++ b/tests/ref/iframe/overflow.html
@@ -1,7 +1,7 @@
diff --git a/tests/ref/table_auto_width.html b/tests/ref/table_auto_width.html
index 39396bbb799..62f0def0086 100644
--- a/tests/ref/table_auto_width.html
+++ b/tests/ref/table_auto_width.html
@@ -6,7 +6,7 @@
-
+ |
1234567890
|
diff --git a/tests/ref/table_auto_width_ref.html b/tests/ref/table_auto_width_ref.html
index 1a90aab518e..0cb28c3ef1e 100644
--- a/tests/ref/table_auto_width_ref.html
+++ b/tests/ref/table_auto_width_ref.html
@@ -6,7 +6,7 @@
-
+ |
1234567890
|
diff --git a/tests/ref/table_containing_block_a.html b/tests/ref/table_containing_block_a.html
index 1b33586f70c..6c3a4e02a4a 100644
--- a/tests/ref/table_containing_block_a.html
+++ b/tests/ref/table_containing_block_a.html
@@ -14,7 +14,7 @@
- Don't crash! |
+ Don't crash! |
diff --git a/tests/ref/table_containing_block_ref.html b/tests/ref/table_containing_block_ref.html
index b4377f5e761..d59322ab8ec 100644
--- a/tests/ref/table_containing_block_ref.html
+++ b/tests/ref/table_containing_block_ref.html
@@ -6,7 +6,7 @@
- Don't crash! |
+ Don't crash! |
diff --git a/tests/ref/table_padding_a.html b/tests/ref/table_padding_a.html
index a95ac820bff..5170b6d12b2 100644
--- a/tests/ref/table_padding_a.html
+++ b/tests/ref/table_padding_a.html
@@ -15,9 +15,11 @@
table {
background:green;
padding: 150px;
+ box-sizing: content-box;
}
th {
color: yellow;
+ padding: 0;
}