mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Inherit computed value flags when inheriting computed values.
This commit is contained in:
parent
2a05c29c30
commit
86799d4d6e
2 changed files with 9 additions and 0 deletions
|
@ -8,6 +8,11 @@ use properties::{ComputedValues, StyleBuilder};
|
|||
|
||||
bitflags! {
|
||||
/// Misc information about a given computed style.
|
||||
///
|
||||
/// All flags are currently inherited for text, pseudo elements, and
|
||||
/// anonymous boxes, see StyleBuilder::for_inheritance and its callsites.
|
||||
/// If we ever want to add some flags that shouldn't inherit for them,
|
||||
/// we might want to add a function to handle this.
|
||||
pub flags ComputedValueFlags: u8 {
|
||||
/// Whether the style or any of the ancestors has a text-decoration-line
|
||||
/// property that should get propagated to descendants.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue