diff options
author | Glenn Watson <github@intuitionlibrary.com> | 2017-02-10 13:57:38 +1000 |
---|---|---|
committer | Glenn Watson <github@intuitionlibrary.com> | 2017-02-13 13:19:45 +1000 |
commit | afc6a2b1fed2ce38791b15d279887becc3f4e5da (patch) | |
tree | 3a9bcc1780ed8562e114c8b66dfe038a6c99309b /components/script/dom/documentfragment.rs | |
parent | e985ad54229083e5e76b2862cec57ce4fef4433c (diff) | |
download | servo-afc6a2b1fed2ce38791b15d279887becc3f4e5da.tar.gz servo-afc6a2b1fed2ce38791b15d279887becc3f4e5da.zip |
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
Diffstat (limited to 'components/script/dom/documentfragment.rs')
0 files changed, 0 insertions, 0 deletions