From 5d2bb99d49a4333bd4cbaf1807ee3cdaa8094249 Mon Sep 17 00:00:00 2001 From: Xidorn Quan Date: Tue, 17 Jan 2017 11:32:09 +1100 Subject: [PATCH] Never blockify display: none --- components/style/properties/properties.mako.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/style/properties/properties.mako.rs b/components/style/properties/properties.mako.rs index 3661d03a39c..3ef6e64a427 100644 --- a/components/style/properties/properties.mako.rs +++ b/components/style/properties/properties.mako.rs @@ -1973,7 +1973,7 @@ pub fn apply_declarations<'a, F, I>(viewport_size: Size2D, % endif // Values that are not changed by blockification. - T::block | T::flex | T::list_item | T::table => None, + T::none | T::block | T::flex | T::list_item | T::table => None, % if product == "gecko": T::contents | T::grid | T::_webkit_box => None, % endif