servo/components/style/values
bors-servo f91ea02bf7 Auto merge of #18451 - Manishearth:stylo-calc-fontsize, r=emilio
stylo: Add support for calcs in base size calculation

This tracks an offset along with the ratio for the keyword font size data.
The offset gets used when a calc is involved whilst inheriting font-size
(it is the computed value of that calc ignoring em/percentage portions,
which go into the ratio). If the family or language changes, the new font
size can be computed by taking the keyword's size in the context of that
family/language, multiplying it by the ratio, and adding the offset.

r=emilio https://bugzilla.mozilla.org/show_bug.cgi?id=1380980

<!-- 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/18451)
<!-- Reviewable:end -->
2017-09-11 21:01:57 -05:00
..
animated stylo: Clamp Au on accumulation 2017-09-06 15:42:12 -07:00
computed Auto merge of #18451 - Manishearth:stylo-calc-fontsize, r=emilio 2017-09-11 21:01:57 -05:00
generics Do not use CVAS for the list-style-type property 2017-09-11 18:41:08 +02:00
specified Auto merge of #18447 - servo:kill-cvas, r=emilio 2017-09-11 20:04:12 -05:00
distance.rs Document how style traits can be derived 2017-08-28 12:26:43 +02:00
mod.rs style: Get rid of ComputedValueAsSpecified in inherited_text.rs 2017-09-11 11:29:31 +02:00