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>
This commit is contained in:
Martin Robinson 2024-10-29 18:50:33 +01:00 committed by GitHub
parent d17321f53d
commit d5554235fe
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 14 additions and 19 deletions

View file

@ -70,6 +70,7 @@ impl ToWebRender for ComputedMixBlendMode {
ComputedMixBlendMode::Saturation => MixBlendMode::Saturation,
ComputedMixBlendMode::Color => MixBlendMode::Color,
ComputedMixBlendMode::Luminosity => MixBlendMode::Luminosity,
ComputedMixBlendMode::PlusLighter => MixBlendMode::PlusLighter,
}
}
}