From 0b2c32a45a182388029594d0efbb2d93688d6f7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Sun, 29 Jan 2017 14:20:42 +0100 Subject: [PATCH] style: Temporarily force selector matching for style attribute restyles. The test failures on try were because of this. --- components/style/data.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/style/data.rs b/components/style/data.rs index 475a04b7023..0c097b103a1 100644 --- a/components/style/data.rs +++ b/components/style/data.rs @@ -203,7 +203,7 @@ impl From for StoredRestyleHint { use self::DescendantRestyleHint::*; debug_assert!(!hint.contains(RESTYLE_LATER_SIBLINGS), "Caller should apply sibling hints"); StoredRestyleHint { - restyle_self: hint.contains(RESTYLE_SELF), + restyle_self: hint.contains(RESTYLE_SELF) || hint.contains(RESTYLE_STYLE_ATTRIBUTE), descendants: if hint.contains(RESTYLE_DESCENDANTS) { Descendants } else { Empty }, } }