mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-26 04:07:51 +00:00
LibWeb/CSS: Implement mix-blend-mode
This adds support for the `mix-blend-mode` CSS property.
This commit is contained in:
parent
8575bddfe6
commit
0fe30886f5
Notes:
github-actions[bot]
2025-02-05 11:28:01 +00:00
Author: https://github.com/skyz1
Commit: 0fe30886f5
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3267
Reviewed-by: https://github.com/AtkinsSJ ✅
Reviewed-by: https://github.com/konradekk
24 changed files with 311 additions and 57 deletions
|
@ -12,6 +12,26 @@
|
|||
|
||||
namespace Web::Painting {
|
||||
|
||||
#define ENUMERATE_MIX_BLEND_MODES(E) \
|
||||
E(Normal) \
|
||||
E(Multiply) \
|
||||
E(Screen) \
|
||||
E(Overlay) \
|
||||
E(Darken) \
|
||||
E(Lighten) \
|
||||
E(ColorDodge) \
|
||||
E(ColorBurn) \
|
||||
E(HardLight) \
|
||||
E(SoftLight) \
|
||||
E(Difference) \
|
||||
E(Exclusion) \
|
||||
E(Hue) \
|
||||
E(Saturation) \
|
||||
E(Color) \
|
||||
E(Luminosity) \
|
||||
E(PlusDarker) \
|
||||
E(PlusLighter)
|
||||
|
||||
class StackingContext {
|
||||
friend class ViewportPaintable;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue