mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Compare style attributes rather than rejecting them from the cache.
MozReview-Commit-ID: Jmu7Pie2mBP
This commit is contained in:
parent
f40c45fe1a
commit
47404cfc4e
4 changed files with 29 additions and 21 deletions
|
@ -23,14 +23,11 @@ bitflags! {
|
|||
pub flags StyleRelations: usize {
|
||||
/// Whether this element is affected by an ID selector.
|
||||
const AFFECTED_BY_ID_SELECTOR = 1 << 0,
|
||||
/// Whether this element has a style attribute. Computed
|
||||
/// externally.
|
||||
const AFFECTED_BY_STYLE_ATTRIBUTE = 1 << 1,
|
||||
/// Whether this element is affected by presentational hints. This is
|
||||
/// computed externally (that is, in Servo).
|
||||
const AFFECTED_BY_PRESENTATIONAL_HINTS = 1 << 2,
|
||||
const AFFECTED_BY_PRESENTATIONAL_HINTS = 1 << 1,
|
||||
/// Whether this element has pseudo-element styles. Computed externally.
|
||||
const AFFECTED_BY_PSEUDO_ELEMENTS = 1 << 3,
|
||||
const AFFECTED_BY_PSEUDO_ELEMENTS = 1 << 2,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue