style: Keep track of whether a style is affected by font metrics.

Differential Revision: https://phabricator.services.mozilla.com/D20728
This commit is contained in:
Emilio Cobos Álvarez 2019-03-19 21:10:13 +00:00
parent fe7b3a6b11
commit ed4a23eccf
4 changed files with 47 additions and 34 deletions

View file

@ -56,10 +56,13 @@ bitflags! {
/// Whether the child explicitly inherits any reset property.
const INHERITS_RESET_STYLE = 1 << 8;
/// Whether any value on our style is font-metric-dependent.
const DEPENDS_ON_FONT_METRICS = 1 << 9;
/// Whether the style or any of the ancestors has a multicol style.
///
/// Only used in Servo.
const CAN_BE_FRAGMENTED = 1 << 9;
const CAN_BE_FRAGMENTED = 1 << 10;
}
}