From 10a3fa7df6c46b2db8c54b53f09ff91edc305d77 Mon Sep 17 00:00:00 2001 From: Glenn Watson Date: Wed, 17 Feb 2016 07:55:11 +1000 Subject: [PATCH] Fix a broken reftest. The element has a different font weight by default. This means that the line height is slightly different from the ref test. In normal Servo this doesn't matter due to how the default snapping works. However, in both WebRender and Firefox, this results in the reftests being one pixel different. Setting the font weight to be normal makes the reftest pass in Servo, WebRender and FF. --- .../absolute_hypothetical_with_intervening_inline_block_a.html | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/wpt/mozilla/tests/css/absolute_hypothetical_with_intervening_inline_block_a.html b/tests/wpt/mozilla/tests/css/absolute_hypothetical_with_intervening_inline_block_a.html index 261dc086101..54d92051775 100644 --- a/tests/wpt/mozilla/tests/css/absolute_hypothetical_with_intervening_inline_block_a.html +++ b/tests/wpt/mozilla/tests/css/absolute_hypothetical_with_intervening_inline_block_a.html @@ -18,6 +18,7 @@ section { } strong { color: red; + font-weight: normal; } There should be no red.
_