Skip to content
Browse files

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.
  • Loading branch information
gw3583 committed Feb 16, 2016
1 parent 7aedb9c commit 10a3fa7df6c46b2db8c54b53f09ff91edc305d77
@@ -18,6 +18,7 @@
strong {
color: red;
font-weight: normal;
There should be no red.<em><main><section></section></main></em><strong>_</strong>

0 comments on commit 10a3fa7

Please sign in to comment.
You can’t perform that action at this time.