From d5554235febb7b12906b01bf7c170ddb1e7d0bb4 Mon Sep 17 00:00:00 2001 From: Martin Robinson Date: Tue, 29 Oct 2024 18:50:33 +0100 Subject: layout: Add support for `mix-blend-mode: plus-lighter` (#34057) This just requires translating the style value into a WebRender value. Signed-off-by: Martin Robinson --- components/layout/display_list/conversions.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'components/layout/display_list') diff --git a/components/layout/display_list/conversions.rs b/components/layout/display_list/conversions.rs index 30af153fe20..17e5b29f16d 100644 --- a/components/layout/display_list/conversions.rs +++ b/components/layout/display_list/conversions.rs @@ -102,6 +102,7 @@ impl ToLayout for MixBlendMode { MixBlendMode::Saturation => wr::MixBlendMode::Saturation, MixBlendMode::Color => wr::MixBlendMode::Color, MixBlendMode::Luminosity => wr::MixBlendMode::Luminosity, + MixBlendMode::PlusLighter => wr::MixBlendMode::PlusLighter, } } } -- cgit v1.2.3