servo/components/style/values/computed
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
..
align.rs style: Get rid of ComputedValueAsSpecified for alignment props. 2017-09-11 11:29:29 +02:00
angle.rs Auto merge of #18234 - BorisChiou:stylo/transform/distance_mismatch, r=birtles,nox 2017-08-30 06:03:32 -05:00
background.rs Derive Animate for BackgroundSize<L> 2017-08-28 12:26:38 +02:00
basic_shape.rs Introduce ComputedUrl 2017-08-09 13:55:39 +02:00
border.rs Upgrade to rustc 1.21.0-nightly (13d94d5fa 2017-08-10) 2017-08-15 14:10:44 +02:00
box.rs Use generics for the vertical-align property 2017-08-30 23:01:12 +02:00
color.rs style: Move color to use predefined_type. 2017-09-04 11:43:50 +02:00
effects.rs Use Option<RGBA> for color in shadow 2017-08-19 00:20:24 +10:00
flex.rs Rename LengthOrPercentageOrAutoOrContent to FlexBasis 2017-06-17 13:46:35 +02:00
gecko.rs Use generics for scroll-snap-points-* 2017-06-06 19:27:43 +02:00
image.rs Properly set default direction of prefixed linear gradients 2017-08-30 21:17:39 -07:00
length.rs stylo: Add support for calcs in base size calculation 2017-09-11 16:05:50 -07:00
mod.rs Auto merge of #18451 - Manishearth:stylo-calc-fontsize, r=emilio 2017-09-11 21:01:57 -05:00
percentage.rs style: Remove HasViewportPercentage. 2017-08-29 23:51:21 +02:00
position.rs style: Respect calc for percentages. 2017-07-14 13:43:27 +02:00
rect.rs Introduce style::values::generics::rect ▭ 2017-05-23 10:59:57 +02:00
svg.rs Add SVGLengthOrPercentageOrNumber for stroke-*. 2017-08-18 10:28:11 +09:00
text.rs Derive the most trivial Animate impls 2017-08-22 19:12:47 +02:00
time.rs order derivable traits lists 2017-08-23 21:38:44 +02:00
transform.rs Use DirectionVector as an alias of euclid::Vector3D<f32>. 2017-08-25 18:25:15 +08:00