Bug 1349834 - Update RESTYLE_STYLE_ATTRIBUTE to sync Gecko change. draft
authorBoris Chiou <boris.chiou@gmail.com>
Fri, 24 Mar 2017 11:19:52 +0800
changeset 504197 d957473ed9e109fc4d735b4a8caf0e98c184a07e
parent 504196 3410a2259d4320a2f5e2505ec83d2c1f2d2c7dc6
child 504198 cbebe5c9115dce82cbfc9c6dfffbf1ae8352fee9
push id50760
push userbmo:boris.chiou@gmail.com
push dateFri, 24 Mar 2017 03:24:26 +0000
bugs1349834
milestone55.0a1
Bug 1349834 - Update RESTYLE_STYLE_ATTRIBUTE to sync Gecko change. MozReview-Commit-ID: Kbg9m99DBwP
servo/components/style/restyle_hints.rs
--- a/servo/components/style/restyle_hints.rs
+++ b/servo/components/style/restyle_hints.rs
@@ -45,17 +45,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 = 0x80,
+        const RESTYLE_STYLE_ATTRIBUTE = 0x40,
     }
 }
 
 /// Asserts that all RestyleHint flags have a matching nsRestyleHint value.
 #[cfg(feature = "gecko")]
 #[inline]
 pub fn assert_restyle_hints_match() {
     use gecko_bindings::structs;