From 9abed3220793a60fd0cae36ddbd235b5af2a6acb Mon Sep 17 00:00:00 2001 From: Philip Rogers Date: Wed, 1 Nov 2023 04:07:52 +0000 Subject: [PATCH] Bug 1860612 [wpt PR 42689] - Implement an unprefixed mask-composite property, a=testonly Automatic update from web-platform-tests Implement an unprefixed mask-composite property This patch adds an updated and unprefixed mask-composite property behind the experimental flag CSSMaskingInterop. In addition to unprefixing, the patch changes the supported values of only the unprefixed property to match https://drafts.fxtf.org/css-masking/#the-mask-composite: add (source-over) subtract (source-out) intersect (source-in) exclude (xor) Bug: 1418401 Change-Id: I100546a799d86f26d06d52a6ca55d9ced93d766b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4953599 Commit-Queue: Philip Rogers Reviewed-by: Traian Captan Auto-Submit: Philip Rogers Commit-Queue: Traian Captan Cr-Commit-Position: refs/heads/main@{#1213850} -- wpt-commits: d8226bbcf1d1fc860f648b8281f498e666d72af7 wpt-pr: 42689 --- .../parsing/mask-composite-computed.html | 21 +++++++++++++++ .../parsing/mask-composite-invalid.html | 30 ++++++++++++++++++++++ .../css-masking/parsing/mask-composite-valid.html | 21 +++++++++++++++ 3 files changed, 72 insertions(+) create mode 100644 testing/web-platform/tests/css/css-masking/parsing/mask-composite-computed.html create mode 100644 testing/web-platform/tests/css/css-masking/parsing/mask-composite-invalid.html create mode 100644 testing/web-platform/tests/css/css-masking/parsing/mask-composite-valid.html diff --git a/testing/web-platform/tests/css/css-masking/parsing/mask-composite-computed.html b/testing/web-platform/tests/css/css-masking/parsing/mask-composite-computed.html new file mode 100644 index 000000000000..d2b9a4a606ab --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/parsing/mask-composite-computed.html @@ -0,0 +1,21 @@ + + + + +CSS Masking Module Level 1: getComputedStyle().maskComposite + + + + + + + +
+ + + diff --git a/testing/web-platform/tests/css/css-masking/parsing/mask-composite-invalid.html b/testing/web-platform/tests/css/css-masking/parsing/mask-composite-invalid.html new file mode 100644 index 000000000000..9dc4df163c72 --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/parsing/mask-composite-invalid.html @@ -0,0 +1,30 @@ + + + + +CSS Masking Module Level 1: parsing mask-composite with invalid values + + + + + + + + + + diff --git a/testing/web-platform/tests/css/css-masking/parsing/mask-composite-valid.html b/testing/web-platform/tests/css/css-masking/parsing/mask-composite-valid.html new file mode 100644 index 000000000000..385726c17ad1 --- /dev/null +++ b/testing/web-platform/tests/css/css-masking/parsing/mask-composite-valid.html @@ -0,0 +1,21 @@ + + + + +CSS Masking Module Level 1: parsing mask-composite with valid values + + + + + + + + + + -- 2.11.4.GIT