mirror of
https://github.com/servo/servo.git
synced 2025-08-09 15:35:34 +01:00
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:
parent
fe7b3a6b11
commit
ed4a23eccf
4 changed files with 47 additions and 34 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue