From f0fbcf204ea1b19adab45c22666ddbd466e3f7d2 Mon Sep 17 00:00:00 2001 From: Yusuf Sermet Date: Mon, 28 May 2018 23:54:01 -0700 Subject: [PATCH] style: Create a stacking context for contain:paint. Bug: 1463599 Reviewed-by: mattwoodrow MozReview-Commit-ID: Ln72MOlHXwi --- components/style/properties/longhand/box.mako.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/style/properties/longhand/box.mako.rs b/components/style/properties/longhand/box.mako.rs index 026a3ca7936..f8389a19a79 100644 --- a/components/style/properties/longhand/box.mako.rs +++ b/components/style/properties/longhand/box.mako.rs @@ -593,7 +593,7 @@ ${helpers.predefined_type("contain", "specified::Contain::empty()", animation_value_type="discrete", products="gecko", - flags="FIXPOS_CB", + flags="CREATES_STACKING_CONTEXT FIXPOS_CB", gecko_pref="layout.css.contain.enabled", spec="https://drafts.csswg.org/css-contain/#contain-property")}