mirror of
https://github.com/servo/servo.git
synced 2025-08-08 15:05:35 +01:00
style: Remove IS_STYLE_IF_VISITED.
Bug: 1474959 Reviewed-by: xidorn MozReview-Commit-ID: 8rnlaMOJisA
This commit is contained in:
parent
4e1606bfaf
commit
08dcd7fca0
4 changed files with 7 additions and 43 deletions
|
@ -56,13 +56,10 @@ bitflags! {
|
|||
/// Whether the child explicitly inherits any reset property.
|
||||
const INHERITS_RESET_STYLE = 1 << 8;
|
||||
|
||||
/// A flag to mark a style which is a visited style.
|
||||
const IS_STYLE_IF_VISITED = 1 << 9;
|
||||
|
||||
/// Whether the style or any of the ancestors has a multicol style.
|
||||
///
|
||||
/// Only used in Servo.
|
||||
const CAN_BE_FRAGMENTED = 1 << 10;
|
||||
const CAN_BE_FRAGMENTED = 1 << 9;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -70,7 +67,6 @@ impl ComputedValueFlags {
|
|||
/// Flags that are unconditionally propagated to descendants.
|
||||
#[inline]
|
||||
fn inherited_flags() -> Self {
|
||||
ComputedValueFlags::IS_STYLE_IF_VISITED |
|
||||
ComputedValueFlags::IS_RELEVANT_LINK_VISITED |
|
||||
ComputedValueFlags::CAN_BE_FRAGMENTED |
|
||||
ComputedValueFlags::IS_IN_PSEUDO_ELEMENT_SUBTREE |
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue