From f2ac6fad96e5ff8d94d19558ae90bce6a02b2eac Mon Sep 17 00:00:00 2001 From: "L. David Baron" Date: Tue, 24 Nov 2015 17:45:01 -0800 Subject: [PATCH] Bug 1227501 patch 1 - Don't check flags for eCSSPropertyExtra_variable. r=xidorn I tested locally that the crashtest in patch 2 hits the fatal assertion without this patch, and passes with the patch. --HG-- extra : commitid : 8NwOfppKxBN --- layout/style/nsRuleNode.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/layout/style/nsRuleNode.cpp b/layout/style/nsRuleNode.cpp index 206eb275bdf7..9d4c766b27d2 100644 --- a/layout/style/nsRuleNode.cpp +++ b/layout/style/nsRuleNode.cpp @@ -5945,6 +5945,7 @@ nsRuleNode::ComputeDisplayData(void* aStartStruct, nsCSSProps::LookupProperty(buffer, nsCSSProps::eEnabledForAllContent); if (prop != eCSSProperty_UNKNOWN && + prop != eCSSPropertyExtra_variable && nsCSSProps::PropHasFlags(prop, CSS_PROPERTY_CREATES_STACKING_CONTEXT)) {