diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-11-13 04:55:02 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-13 04:55:02 -0600 |
commit | 57c4db7c670f34fffbee0c179077e8afdadf09f8 (patch) | |
tree | a36647cd424a78ea491ae256adc8b711ce09b603 /components/script/dom/htmlmetaelement.rs | |
parent | 9fd6f0acd50343f5c9bf3be28d9e0a6d5abf40d6 (diff) | |
parent | 6c3458767bd2f37d1d8130fe0841fc877729ad60 (diff) | |
download | servo-57c4db7c670f34fffbee0c179077e8afdadf09f8.tar.gz servo-57c4db7c670f34fffbee0c179077e8afdadf09f8.zip |
Auto merge of #14174 - emilio:font-provider, r=Manishearth
style: Refactor and add infrastructure for font metrics in style.
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
<!-- Either: -->
- [x] These changes do not require tests because moves stuff around without adding functionality.
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
This commit itself only moves things around and adds an extra parameter to the
`apply_declarations` function to eventually handle #14079 correctly.
Probably needs a more granular API to query fonts, á la nsFontMetrics, but
that's trivial to do once this is landed.
Then we should make the font provider mandatory, and implement the missing stylo
bits.
<!-- 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/14174)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/htmlmetaelement.rs')
0 files changed, 0 insertions, 0 deletions