DescriptionAddding support for the background-blend-mode CSS property.
The patch forwards the background blend modes from WebCore to Skia, enabling background images to blend between themeselves.
Added 3 pixel tests. The first two, effect-background-blend-mode and effect-background-blend-mode-stacking are just readded after being removed in CL 149989. They were removed because they failed, since background blend mode was not implemented, and TestExpectations entries were ignored.
The effect-background-blend-mode-tiled test is new, and causes Image::drawPattern to be called (since the other background blending tests did not go through that function).
Add logic to override the acceleratedCompositingEnabled setting on testRunner through the WebKitAcceleratedCompositingEnabled key. This was necessary because blending was rendered in software in Skia until not long ago, and there was no hardware path available.
R=eric@chromium.org
BUG=229166
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=150710
Patch Set 1 #Patch Set 2 : Rebasing after rename of WebCore. Remove webkit prefix from background-blend-mode property. #Patch Set 3 : #
Total comments: 1
Patch Set 4 : Address comments #Patch Set 5 : Remove expected pngs #Messages
Total messages: 13 (0 generated)
|