mirror of
https://github.com/servo/servo.git
synced 2025-08-04 21:20:23 +01:00
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.
This commit is contained in:
parent
7aedb9c7cd
commit
10a3fa7df6
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