[GTK][WPE] Enable support for CSS_COMPOSITING
authorclopez@igalia.com <clopez@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 10 Jul 2019 11:59:00 +0000 (11:59 +0000)
committerclopez@igalia.com <clopez@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 10 Jul 2019 11:59:00 +0000 (11:59 +0000)
commitba98abbc97dc879212023f43a4d6f51e536fa548
tree8757596c407429aa4a541cbd6b19001c36d11d0b
parent54d14a77f41c394ca30ee7049d484c23b30fb085
[GTK][WPE] Enable support for CSS_COMPOSITING
https://bugs.webkit.org/show_bug.cgi?id=199513

Reviewed by Michael Catanzaro.

.:

This feature is needed to support the CSS properties "mix-blend-mode" and "isolation".
Enable it for all ports except for AppleWin (doesn't build).

It has been tested that it builds on the EWS bots of all the ports enabled (for those that have an EWS).
Also, for the GTK and WPE ports it also has been tested that the feature works fine on most of the cases and that doesn't cause regressions.

* Source/cmake/OptionsFTW.cmake: Enable the feature.
* Source/cmake/OptionsMac.cmake: Use the new default.
* Source/cmake/OptionsWin.cmake: Enable for WinCairo only.
* Source/cmake/WebKitFeatures.cmake: Enable it Globally

LayoutTests:

Rebaseline the tests that pass after enabling CSS_COMPOSITING.
The feature works is most of the cases, but there are still some tests/cases not working.

There are also some new failures marked related to SVG blending (css3/blending/svg*), but those were already failing before.
So its unrelated to this change.

* platform/gtk/TestExpectations:
* platform/gtk/css3/blending/background-blend-mode-default-value-expected.png:
* platform/gtk/css3/blending/background-blend-mode-different-image-formats-expected.png:
* platform/gtk/css3/blending/background-blend-mode-image-color-expected.png:
* platform/gtk/css3/blending/background-blend-mode-image-image-expected.png:
* platform/gtk/css3/blending/background-blend-mode-single-layer-no-blending-expected.png:
* platform/gtk/css3/blending/blend-mode-background-expected.png:
* platform/gtk/css3/blending/blend-mode-background-expected.txt:
* platform/gtk/css3/blending/blend-mode-isolation-flags-append-non-stacking-context-blending-expected.png: Added.
* platform/gtk/css3/blending/blend-mode-isolation-flags-append-non-stacking-context-blending-expected.txt: Added.
* platform/gtk/css3/blending/blend-mode-isolation-flags-append-stacking-context-blending-expected.png: Added.
* platform/gtk/css3/blending/blend-mode-isolation-flags-append-stacking-context-blending-expected.txt: Added.
* platform/gtk/css3/blending/blend-mode-isolation-flags-turn-off-blending-expected.png: Added.
* platform/gtk/css3/blending/blend-mode-isolation-flags-turn-off-blending-expected.txt: Added.
* platform/gtk/css3/blending/blend-mode-isolation-flags-turn-off-blending-no-isolation-expected.png: Added.
* platform/gtk/css3/blending/blend-mode-isolation-flags-turn-off-blending-no-isolation-expected.txt: Added.
* platform/gtk/css3/blending/blend-mode-isolation-flags-turn-off-stacking-context-expected.png: Added.
* platform/gtk/css3/blending/blend-mode-isolation-flags-turn-off-stacking-context-expected.txt: Added.
* platform/gtk/css3/blending/blend-mode-isolation-flags-turn-on-blending-expected.png: Added.
* platform/gtk/css3/blending/blend-mode-isolation-flags-turn-on-blending-expected.txt: Added.
* platform/gtk/css3/blending/blend-mode-isolation-flags-turn-on-stacking-context-expected.png: Added.
* platform/gtk/css3/blending/blend-mode-isolation-flags-turn-on-stacking-context-expected.txt: Added.
* platform/gtk/css3/blending/blend-mode-overflow-expected.png: Added.
* platform/gtk/css3/blending/blend-mode-overflow-expected.txt: Added.
* platform/gtk/css3/blending/blend-mode-simple-expected.png: Added.
* platform/gtk/css3/blending/blend-mode-simple-expected.txt: Added.
* platform/gtk/css3/blending/repaint/blend-mode-turn-off-isolation-no-effect-expected.txt: Added.
* platform/gtk/css3/blending/svg-blend-layer-blend-expected.png:
* platform/gtk/css3/blending/svg-blend-layer-blend-expected.txt:
* platform/gtk/css3/blending/svg-blend-layer-clip-path-expected.png: Added.
* platform/gtk/css3/blending/svg-blend-layer-clip-path-expected.txt: Added.
* platform/gtk/css3/blending/svg-blend-layer-filter-expected.png:
* platform/gtk/css3/blending/svg-blend-layer-filter-expected.txt:
* platform/gtk/css3/blending/svg-blend-layer-mask-expected.png:
* platform/gtk/css3/blending/svg-blend-layer-mask-expected.txt:
* platform/gtk/css3/blending/svg-blend-layer-opacity-expected.png:
* platform/gtk/css3/blending/svg-blend-layer-opacity-expected.txt:
* platform/wpe/TestExpectations:
* platform/wpe/css3/blending/background-blend-mode-default-value-expected.png: Added.
* platform/wpe/css3/blending/background-blend-mode-default-value-expected.txt: Added.
* platform/wpe/css3/blending/background-blend-mode-different-image-formats-expected.png: Added.
* platform/wpe/css3/blending/background-blend-mode-different-image-formats-expected.txt: Added.
* platform/wpe/css3/blending/background-blend-mode-gif-color-2-expected.png: Added.
* platform/wpe/css3/blending/background-blend-mode-gif-color-2-expected.txt: Added.
* platform/wpe/css3/blending/background-blend-mode-gif-color-expected.png: Added.
* platform/wpe/css3/blending/background-blend-mode-gif-color-expected.txt: Added.
* platform/wpe/css3/blending/background-blend-mode-image-color-expected.png: Added.
* platform/wpe/css3/blending/background-blend-mode-image-color-expected.txt: Added.
* platform/wpe/css3/blending/background-blend-mode-image-image-expected.png: Added.
* platform/wpe/css3/blending/background-blend-mode-image-image-expected.txt: Added.
* platform/wpe/css3/blending/background-blend-mode-single-layer-no-blending-expected.png: Added.
* platform/wpe/css3/blending/background-blend-mode-single-layer-no-blending-expected.txt: Added.
* platform/wpe/css3/blending/blend-mode-background-expected.png: Added.
* platform/wpe/css3/blending/blend-mode-background-expected.txt: Copied from LayoutTests/platform/gtk/css3/blending/blend-mode-background-expected.txt.
* platform/wpe/css3/blending/blend-mode-isolation-flags-append-non-stacking-context-blending-expected.png: Added.
* platform/wpe/css3/blending/blend-mode-isolation-flags-append-non-stacking-context-blending-expected.txt: Added.
* platform/wpe/css3/blending/blend-mode-isolation-flags-append-stacking-context-blending-expected.png: Added.
* platform/wpe/css3/blending/blend-mode-isolation-flags-append-stacking-context-blending-expected.txt: Added.
* platform/wpe/css3/blending/blend-mode-isolation-flags-remove-non-stacking-context-blending-expected.png: Added.
* platform/wpe/css3/blending/blend-mode-isolation-flags-remove-non-stacking-context-blending-expected.txt: Added.
* platform/wpe/css3/blending/blend-mode-isolation-flags-remove-stacking-context-blending-expected.png: Added.
* platform/wpe/css3/blending/blend-mode-isolation-flags-remove-stacking-context-blending-expected.txt: Added.
* platform/wpe/css3/blending/blend-mode-isolation-flags-turn-off-blending-expected.png: Added.
* platform/wpe/css3/blending/blend-mode-isolation-flags-turn-off-blending-expected.txt: Added.
* platform/wpe/css3/blending/blend-mode-isolation-flags-turn-off-blending-no-isolation-expected.png: Added.
* platform/wpe/css3/blending/blend-mode-isolation-flags-turn-off-blending-no-isolation-expected.txt: Added.
* platform/wpe/css3/blending/blend-mode-isolation-flags-turn-off-stacking-context-expected.png: Added.
* platform/wpe/css3/blending/blend-mode-isolation-flags-turn-off-stacking-context-expected.txt: Added.
* platform/wpe/css3/blending/blend-mode-isolation-flags-turn-on-blending-expected.png: Added.
* platform/wpe/css3/blending/blend-mode-isolation-flags-turn-on-blending-expected.txt: Added.
* platform/wpe/css3/blending/blend-mode-isolation-flags-turn-on-stacking-context-expected.png: Added.
* platform/wpe/css3/blending/blend-mode-isolation-flags-turn-on-stacking-context-expected.txt: Added.
* platform/wpe/css3/blending/blend-mode-overflow-expected.png: Added.
* platform/wpe/css3/blending/blend-mode-overflow-expected.txt: Added.
* platform/wpe/css3/blending/blend-mode-simple-expected.png: Added.
* platform/wpe/css3/blending/blend-mode-simple-expected.txt: Added.
* platform/wpe/css3/blending/repaint/blend-mode-turn-off-isolation-no-effect-expected.txt: Added.
* platform/wpe/css3/blending/svg-blend-layer-blend-expected.png: Added.
* platform/wpe/css3/blending/svg-blend-layer-blend-expected.txt: Added.
* platform/wpe/css3/blending/svg-blend-layer-clip-path-expected.png: Added.
* platform/wpe/css3/blending/svg-blend-layer-clip-path-expected.txt: Added.
* platform/wpe/css3/blending/svg-blend-layer-filter-expected.png: Added.
* platform/wpe/css3/blending/svg-blend-layer-filter-expected.txt: Added.
* platform/wpe/css3/blending/svg-blend-layer-mask-expected.png: Added.
* platform/wpe/css3/blending/svg-blend-layer-mask-expected.txt: Added.
* platform/wpe/css3/blending/svg-blend-layer-opacity-expected.png: Added.
* platform/wpe/css3/blending/svg-blend-layer-opacity-expected.txt: Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@247297 268f45cc-cd09-0410-ab3c-d52691b4dbfc
93 files changed:
ChangeLog
LayoutTests/ChangeLog
LayoutTests/platform/gtk/TestExpectations
LayoutTests/platform/gtk/css3/blending/background-blend-mode-default-value-expected.png
LayoutTests/platform/gtk/css3/blending/background-blend-mode-different-image-formats-expected.png
LayoutTests/platform/gtk/css3/blending/background-blend-mode-image-color-expected.png
LayoutTests/platform/gtk/css3/blending/background-blend-mode-image-image-expected.png
LayoutTests/platform/gtk/css3/blending/background-blend-mode-single-layer-no-blending-expected.png
LayoutTests/platform/gtk/css3/blending/blend-mode-background-expected.png
LayoutTests/platform/gtk/css3/blending/blend-mode-background-expected.txt
LayoutTests/platform/gtk/css3/blending/blend-mode-isolation-flags-append-non-stacking-context-blending-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/css3/blending/blend-mode-isolation-flags-append-non-stacking-context-blending-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/css3/blending/blend-mode-isolation-flags-append-stacking-context-blending-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/css3/blending/blend-mode-isolation-flags-append-stacking-context-blending-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/css3/blending/blend-mode-isolation-flags-turn-off-blending-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/css3/blending/blend-mode-isolation-flags-turn-off-blending-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/css3/blending/blend-mode-isolation-flags-turn-off-blending-no-isolation-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/css3/blending/blend-mode-isolation-flags-turn-off-blending-no-isolation-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/css3/blending/blend-mode-isolation-flags-turn-off-stacking-context-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/css3/blending/blend-mode-isolation-flags-turn-off-stacking-context-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/css3/blending/blend-mode-isolation-flags-turn-on-blending-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/css3/blending/blend-mode-isolation-flags-turn-on-blending-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/css3/blending/blend-mode-isolation-flags-turn-on-stacking-context-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/css3/blending/blend-mode-isolation-flags-turn-on-stacking-context-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/css3/blending/blend-mode-overflow-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/css3/blending/blend-mode-overflow-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/css3/blending/blend-mode-simple-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/css3/blending/blend-mode-simple-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/css3/blending/repaint/blend-mode-turn-off-isolation-no-effect-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/css3/blending/svg-blend-layer-blend-expected.png
LayoutTests/platform/gtk/css3/blending/svg-blend-layer-blend-expected.txt
LayoutTests/platform/gtk/css3/blending/svg-blend-layer-clip-path-expected.png [new file with mode: 0644]
LayoutTests/platform/gtk/css3/blending/svg-blend-layer-clip-path-expected.txt [new file with mode: 0644]
LayoutTests/platform/gtk/css3/blending/svg-blend-layer-filter-expected.png
LayoutTests/platform/gtk/css3/blending/svg-blend-layer-filter-expected.txt
LayoutTests/platform/gtk/css3/blending/svg-blend-layer-mask-expected.png
LayoutTests/platform/gtk/css3/blending/svg-blend-layer-mask-expected.txt
LayoutTests/platform/gtk/css3/blending/svg-blend-layer-opacity-expected.png
LayoutTests/platform/gtk/css3/blending/svg-blend-layer-opacity-expected.txt
LayoutTests/platform/wpe/TestExpectations
LayoutTests/platform/wpe/css3/blending/background-blend-mode-default-value-expected.png [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/background-blend-mode-default-value-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/background-blend-mode-different-image-formats-expected.png [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/background-blend-mode-different-image-formats-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/background-blend-mode-gif-color-2-expected.png [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/background-blend-mode-gif-color-2-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/background-blend-mode-gif-color-expected.png [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/background-blend-mode-gif-color-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/background-blend-mode-image-color-expected.png [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/background-blend-mode-image-color-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/background-blend-mode-image-image-expected.png [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/background-blend-mode-image-image-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/background-blend-mode-single-layer-no-blending-expected.png [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/background-blend-mode-single-layer-no-blending-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/blend-mode-background-expected.png [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/blend-mode-background-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/blend-mode-isolation-flags-append-non-stacking-context-blending-expected.png [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/blend-mode-isolation-flags-append-non-stacking-context-blending-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/blend-mode-isolation-flags-append-stacking-context-blending-expected.png [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/blend-mode-isolation-flags-append-stacking-context-blending-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/blend-mode-isolation-flags-remove-non-stacking-context-blending-expected.png [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/blend-mode-isolation-flags-remove-non-stacking-context-blending-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/blend-mode-isolation-flags-remove-stacking-context-blending-expected.png [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/blend-mode-isolation-flags-remove-stacking-context-blending-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/blend-mode-isolation-flags-turn-off-blending-expected.png [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/blend-mode-isolation-flags-turn-off-blending-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/blend-mode-isolation-flags-turn-off-blending-no-isolation-expected.png [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/blend-mode-isolation-flags-turn-off-blending-no-isolation-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/blend-mode-isolation-flags-turn-off-stacking-context-expected.png [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/blend-mode-isolation-flags-turn-off-stacking-context-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/blend-mode-isolation-flags-turn-on-blending-expected.png [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/blend-mode-isolation-flags-turn-on-blending-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/blend-mode-isolation-flags-turn-on-stacking-context-expected.png [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/blend-mode-isolation-flags-turn-on-stacking-context-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/blend-mode-overflow-expected.png [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/blend-mode-overflow-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/blend-mode-simple-expected.png [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/blend-mode-simple-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/repaint/blend-mode-turn-off-isolation-no-effect-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/svg-blend-layer-blend-expected.png [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/svg-blend-layer-blend-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/svg-blend-layer-clip-path-expected.png [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/svg-blend-layer-clip-path-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/svg-blend-layer-filter-expected.png [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/svg-blend-layer-filter-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/svg-blend-layer-mask-expected.png [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/svg-blend-layer-mask-expected.txt [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/svg-blend-layer-opacity-expected.png [new file with mode: 0644]
LayoutTests/platform/wpe/css3/blending/svg-blend-layer-opacity-expected.txt [new file with mode: 0644]
Source/cmake/OptionsFTW.cmake
Source/cmake/OptionsMac.cmake
Source/cmake/OptionsWin.cmake
Source/cmake/WebKitFeatures.cmake