aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_2020
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_2020
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_2020')
-rw-r--r--components/layout_2020/display_list/conversions.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/components/layout_2020/display_list/conversions.rs b/components/layout_2020/display_list/conversions.rs
index cfa9192d0e6..79f2ec5f63f 100644
--- a/components/layout_2020/display_list/conversions.rs
+++ b/components/layout_2020/display_list/conversions.rs
@@ -70,6 +70,7 @@ impl ToWebRender for ComputedMixBlendMode {
ComputedMixBlendMode::Saturation => MixBlendMode::Saturation,
ComputedMixBlendMode::Color => MixBlendMode::Color,
ComputedMixBlendMode::Luminosity => MixBlendMode::Luminosity,
+ ComputedMixBlendMode::PlusLighter => MixBlendMode::PlusLighter,
}
}
}