Align RESTYLE_STYLE_ATTRIBUTE value with eRestyle_StyleAttribute.
draft
Align RESTYLE_STYLE_ATTRIBUTE value with eRestyle_StyleAttribute.
MozReview-Commit-ID: FZQVgb6qEfr
--- a/servo/components/style/restyle_hints.rs
+++ b/servo/components/style/restyle_hints.rs
@@ -41,17 +41,17 @@ bitflags! {
/// Rerun selector matching on all later siblings of the element and all
/// of their descendants.
const RESTYLE_LATER_SIBLINGS = 0x08,
/// Don't re-run selector-matching on the element, only the style
/// attribute has changed, and this change didn't have any other
/// dependencies.
- const RESTYLE_STYLE_ATTRIBUTE = 0x10,
+ const RESTYLE_STYLE_ATTRIBUTE = 0x80,
}
}
impl RestyleHint {
/// The subset hints that affect the styling of a single element during the
/// traversal.
pub fn for_self() -> Self {
RESTYLE_SELF | RESTYLE_STYLE_ATTRIBUTE