stylo: Compute font-size calcs against appropriate base size

This commit is contained in:
Manish Goregaokar 2017-08-29 13:18:24 -07:00 committed by Manish Goregaokar
parent 09df9c4316
commit 343eb23187
4 changed files with 10 additions and 7 deletions

View file

@ -80,6 +80,7 @@ impl ToCss for FontRelativeLength {
}
/// A source to resolve font-relative units against
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum FontBaseSize {
/// Use the font-size of the current element
CurrentStyle,