mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
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:
commit
5487ba35eb
1 changed files with 1 additions and 0 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue