diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-02-12 19:20:44 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-12 19:20:44 -0800 |
commit | dd6d7ae59d869594a35e84c467e7547cfccb5d46 (patch) | |
tree | f0423ab0505343055f4c9e7fa7209d20c18f8ea8 /components/script/dom/documentfragment.rs | |
parent | a656782075afb1fbc55e3f0f8bdb5a58010f3af3 (diff) | |
parent | afc6a2b1fed2ce38791b15d279887becc3f4e5da (diff) | |
download | servo-dd6d7ae59d869594a35e84c467e7547cfccb5d46.tar.gz servo-dd6d7ae59d869594a35e84c467e7547cfccb5d46.zip |
Auto merge of #15485 - glennw:fix-reftest, r=cbrewster
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
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/15485)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/documentfragment.rs')
0 files changed, 0 insertions, 0 deletions