From dacc482ee9219cf3c60c5cd2368024557ca8df72 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Wed, 4 May 2016 13:41:13 -0700 Subject: [PATCH] tests: Fix the `input_buttons_margins_a.html` reftest. It depends on the vertical alignment of button text, which is a spec bug. --- tests/wpt/mozilla/tests/css/input_button_margins_a.html | 2 ++ tests/wpt/mozilla/tests/css/input_button_margins_ref.html | 2 ++ 2 files changed, 4 insertions(+) diff --git a/tests/wpt/mozilla/tests/css/input_button_margins_a.html b/tests/wpt/mozilla/tests/css/input_button_margins_a.html index 37766fe87e5..9f8f6558343 100644 --- a/tests/wpt/mozilla/tests/css/input_button_margins_a.html +++ b/tests/wpt/mozilla/tests/css/input_button_margins_a.html @@ -7,6 +7,8 @@ body, html { input { margin-left: 64px; border: none; + background: lightblue; + color: transparent; vertical-align: top; } diff --git a/tests/wpt/mozilla/tests/css/input_button_margins_ref.html b/tests/wpt/mozilla/tests/css/input_button_margins_ref.html index 63b80497bf4..b2822ec7e33 100644 --- a/tests/wpt/mozilla/tests/css/input_button_margins_ref.html +++ b/tests/wpt/mozilla/tests/css/input_button_margins_ref.html @@ -7,6 +7,8 @@ input { position: absolute; left: 64px; border: none; + background: lightblue; + color: transparent; }