aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout/display_list
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2024-10-29 18:50:33 +0100
committerGitHub <noreply@github.com>2024-10-29 17:50:33 +0000
commitd5554235febb7b12906b01bf7c170ddb1e7d0bb4 (patch)
treea68134a35505f08dabf252f52aad327a38165dc3 /components/layout/display_list
parentd17321f53d28cbaeed8c1d0ed0d6e317143e6ab6 (diff)
downloadservo-d5554235febb7b12906b01bf7c170ddb1e7d0bb4.tar.gz
servo-d5554235febb7b12906b01bf7c170ddb1e7d0bb4.zip
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 <mrobinson@igalia.com>
Diffstat (limited to 'components/layout/display_list')
-rw-r--r--components/layout/display_list/conversions.rs1
1 files changed, 1 insertions, 0 deletions
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,
}
}
}