Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure that position_fixed reftest matches ahem font requirements.
The ahem font should always be a multiple of 5px and a minimum size of 20px for reliable results [1]. In particular, on some macs, using the default size of 16 results in a reported metric of 16 x 17 from the OS. This is currently working, but breaks when WR is updated to do pixel snapping in world space. [1] http://testthewebforward.org/docs/test-style-guidelines.html#special-fonts
- Loading branch information
Showing
3 changed files
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,6 +9,7 @@ | |
background: blue; | ||
|
||
font-family: 'Ahem'; | ||
font-size: 20px; | ||
} | ||
div { | ||
position: absolute; | ||
|