mirror of
https://github.com/servo/servo.git
synced 2025-10-04 02:29:12 +01:00
stylo: Compute font-size calcs against appropriate base size
This commit is contained in:
parent
09df9c4316
commit
343eb23187
4 changed files with 10 additions and 7 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue