style: Remove a bunch of unused style bits.

Bug: 1464060
MozReview-Commit-ID: FLACqfSHfSO
This commit is contained in:
Emilio Cobos Álvarez 2018-05-24 15:03:17 +02:00
parent 2c1ec89943
commit 6b19318cc8
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C
3 changed files with 0 additions and 18 deletions

View file

@ -41,10 +41,6 @@ bitflags! {
/// A flag used to mark styles which are a pseudo-element or under one.
const IS_IN_PSEUDO_ELEMENT_SUBTREE = 1 << 4;
/// A flag used to mark styles which are in a display: none subtree, or
/// under one.
const IS_IN_DISPLAY_NONE_SUBTREE = 1 << 5;
/// Whether this style inherits the `display` property.
///
/// This is important because it may affect our optimizations to avoid
@ -77,7 +73,6 @@ impl ComputedValueFlags {
ComputedValueFlags::IS_STYLE_IF_VISITED |
ComputedValueFlags::IS_RELEVANT_LINK_VISITED |
ComputedValueFlags::CAN_BE_FRAGMENTED |
ComputedValueFlags::IS_IN_DISPLAY_NONE_SUBTREE |
ComputedValueFlags::IS_IN_PSEUDO_ELEMENT_SUBTREE |
ComputedValueFlags::HAS_TEXT_DECORATION_LINES
}