Skip to content

Commit

Permalink
Fix a broken reftest.
Browse files Browse the repository at this point in the history
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 10a3fa7
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -18,6 +18,7 @@
}
strong {
color: red;
font-weight: normal;
}
</style>
There should be no red.<em><main><section></section></main></em><strong>_</strong>
Expand Down

0 comments on commit 10a3fa7

Please sign in to comment.