Auto merge of #9665 - glennw:fix-ref-tests-1, r=pcwalton

Fix a broken reftest.

The strong 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.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9665)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2016-02-17 07:40:07 +05:30
commit 5487ba35eb

View file

@ -18,6 +18,7 @@ section {
}
strong {
color: red;
font-weight: normal;
}
</style>
There should be no red.<em><main><section></section></main></em><strong>_</strong>