diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-05-12 23:59:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-12 23:59:25 -0500 |
commit | 29f5b226ac6029cfa3806a36e58974b94c12d655 (patch) | |
tree | 0303a1078ee39f9e1843010f7565b2e7eb7007f0 /components/script_traits/lib.rs | |
parent | b6f5d65bbddc9e8d35016c8669256a8a539b7516 (diff) | |
parent | b1482437b1d590bb6d0a337527bcc64137581b10 (diff) | |
download | servo-29f5b226ac6029cfa3806a36e58974b94c12d655.tar.gz servo-29f5b226ac6029cfa3806a36e58974b94c12d655.zip |
Auto merge of #16824 - Manishearth:font-size-generic-changed, r=heycam
Recalculate font-size when generic changes
With the MathML refactorings this feature got lost. It would still get
recalculated when explicitly specified as a keyword, but not otherwise.
To avoid hitting the font metrics provider too often, we only do this
when the generic changes. Otherwise we trust the existing calculated
font.
I swear, once Stylo lands I'm going to campaign to remove font-size from CSS entirely. :weary:
<!-- 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/16824)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script_traits/lib.rs')
0 files changed, 0 insertions, 0 deletions