From 1b14ca3a9d5244a8d4011f0e7cd421b744b682c1 Mon Sep 17 00:00:00 2001 From: Ting-Yu Lin Date: Mon, 27 Nov 2017 18:22:41 +0800 Subject: [PATCH] style: Support 'shape-image-threshold' property MozReview-Commit-ID: 14lzl3ln3Rg --- components/style/properties/longhand/box.mako.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/components/style/properties/longhand/box.mako.rs b/components/style/properties/longhand/box.mako.rs index 595f3e2e64ec..838c07d9a48b 100644 --- a/components/style/properties/longhand/box.mako.rs +++ b/components/style/properties/longhand/box.mako.rs @@ -911,6 +911,14 @@ ${helpers.single_keyword("-moz-orient", } +${helpers.predefined_type( + "shape-image-threshold", "Opacity", "0.0", + products="gecko", + gecko_pref="layout.css.shape-outside.enabled", + animation_value_type="ComputedValue", + spec="https://drafts.csswg.org/css-shapes/#shape-image-threshold-property", +)} + ${helpers.predefined_type( "shape-outside", "basic_shape::FloatAreaShape",