From 319dca535123636e58edf4c8ae3077450241dbdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Wed, 7 Sep 2022 23:57:18 +0000 Subject: [PATCH] style: Remove layout.css.webkit-line-clamp.enabled, and add a new pref to apply line-clamp to all BFCs It's always true, so remove it. Add another pref to allow -webkit-line-clamp to work on all blocks rather than just legacy -webkit-boxes, which seems something we should try to look into, eventually. Depends on D155181 Differential Revision: https://phabricator.services.mozilla.com/D155182 --- components/style/properties/longhands/box.mako.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/components/style/properties/longhands/box.mako.rs b/components/style/properties/longhands/box.mako.rs index 5c2142d002b..39532ecc6fc 100644 --- a/components/style/properties/longhands/box.mako.rs +++ b/components/style/properties/longhands/box.mako.rs @@ -552,7 +552,6 @@ ${helpers.predefined_type( "LineClamp", "computed::LineClamp::none()", engines="gecko", - gecko_pref="layout.css.webkit-line-clamp.enabled", animation_value_type="ComputedValue", spec="https://drafts.csswg.org/css-overflow-3/#line-clamp", )}