Diff
Modified: trunk/LayoutTests/ChangeLog (251738 => 251739)
--- trunk/LayoutTests/ChangeLog 2019-10-29 22:25:14 UTC (rev 251738)
+++ trunk/LayoutTests/ChangeLog 2019-10-29 22:25:20 UTC (rev 251739)
@@ -26,6 +26,15 @@
2019-10-29 Simon Fraser <[email protected]>
+ Update css/css-color WPT
+ https://bugs.webkit.org/show_bug.cgi?id=203585
+
+ Reviewed by Zalan Bujtas.
+
+ * tests-options.json:
+
+2019-10-29 Simon Fraser <[email protected]>
+
Flaky Test: imported/w3c/web-platform-tests/css/css-values/absolute_length_units.html
https://bugs.webkit.org/show_bug.cgi?id=203581
Modified: trunk/LayoutTests/imported/w3c/ChangeLog (251738 => 251739)
--- trunk/LayoutTests/imported/w3c/ChangeLog 2019-10-29 22:25:14 UTC (rev 251738)
+++ trunk/LayoutTests/imported/w3c/ChangeLog 2019-10-29 22:25:20 UTC (rev 251739)
@@ -1,5 +1,46 @@
2019-10-29 Simon Fraser <[email protected]>
+ Update css/css-color WPT
+ https://bugs.webkit.org/show_bug.cgi?id=203585
+
+ Reviewed by Zalan Bujtas.
+
+ Updated to e68120da0fb52f010f206f3ecc63cfa09885b0f4 (Wed Oct 23 13:18:06 2019 -0700).
+
+ * resources/import-expectations.json:
+ * resources/resource-files.json:
+ * web-platform-tests/css/css-color/META.yml: Added.
+ * web-platform-tests/css/css-color/OWNERS: Removed.
+ * web-platform-tests/css/css-color/animation/color-interpolation-expected.txt: Added.
+ * web-platform-tests/css/css-color/animation/color-interpolation.html: Added.
+ * web-platform-tests/css/css-color/animation/opacity-interpolation-expected.txt: Added.
+ * web-platform-tests/css/css-color/animation/opacity-interpolation.html: Added.
+ * web-platform-tests/css/css-color/animation/w3c-import.log: Added.
+ * web-platform-tests/css/css-color/composited-filters-under-opacity-expected.html: Added.
+ * web-platform-tests/css/css-color/composited-filters-under-opacity.html: Added.
+ * web-platform-tests/css/css-color/inheritance-expected.txt: Added.
+ * web-platform-tests/css/css-color/inheritance.html: Added.
+ * web-platform-tests/css/css-color/opacity-overlapping-letters-expected.html: Added.
+ * web-platform-tests/css/css-color/opacity-overlapping-letters.html: Added.
+ * web-platform-tests/css/css-color/parsing/color-computed-expected.txt: Added.
+ * web-platform-tests/css/css-color/parsing/color-computed.html: Added.
+ * web-platform-tests/css/css-color/parsing/color-invalid-expected.txt: Added.
+ * web-platform-tests/css/css-color/parsing/color-invalid.html: Added.
+ * web-platform-tests/css/css-color/parsing/color-valid-expected.txt: Added.
+ * web-platform-tests/css/css-color/parsing/color-valid.html: Added.
+ * web-platform-tests/css/css-color/parsing/opacity-computed-expected.txt: Added.
+ * web-platform-tests/css/css-color/parsing/opacity-computed.html: Added.
+ * web-platform-tests/css/css-color/parsing/opacity-invalid-expected.txt: Added.
+ * web-platform-tests/css/css-color/parsing/opacity-invalid.html: Added.
+ * web-platform-tests/css/css-color/parsing/opacity-valid-expected.txt: Added.
+ * web-platform-tests/css/css-color/parsing/opacity-valid.html: Added.
+ * web-platform-tests/css/css-color/parsing/w3c-import.log: Added.
+ * web-platform-tests/css/css-color/t31-color-text-a-expected.xht:
+ * web-platform-tests/css/css-color/t32-opacity-zorder-c.xht:
+ * web-platform-tests/css/css-color/w3c-import.log:
+
+2019-10-29 Simon Fraser <[email protected]>
+
Import css/css-box WPT
https://bugs.webkit.org/show_bug.cgi?id=203584
Modified: trunk/LayoutTests/imported/w3c/resources/import-expectations.json (251738 => 251739)
--- trunk/LayoutTests/imported/w3c/resources/import-expectations.json 2019-10-29 22:25:14 UTC (rev 251738)
+++ trunk/LayoutTests/imported/w3c/resources/import-expectations.json 2019-10-29 22:25:20 UTC (rev 251739)
@@ -1,6 +1,7 @@
{
"apng": "import",
"css/css-box": "import",
+ "css/css-color": "import",
"css/css-multicol": "import",
"css/css-position": "import",
"css/css-shapes": "import",
Modified: trunk/LayoutTests/imported/w3c/resources/resource-files.json (251738 => 251739)
--- trunk/LayoutTests/imported/w3c/resources/resource-files.json 2019-10-29 22:25:14 UTC (rev 251738)
+++ trunk/LayoutTests/imported/w3c/resources/resource-files.json 2019-10-29 22:25:20 UTC (rev 251739)
@@ -12,6 +12,11 @@
"web-platform-tests/tools"
],
"files": [
+ "css/css-color/t32-opacity-basic-0.6-a.xht",
+ "css/css-color/t32-opacity-zorder-c.xht",
+ "css/css-color/t421-rgb-hex3-expand-b.xht",
+ "css/css-color/t422-rgba-a0.6-a.xht",
+ "css/css-color/t425-hsla-basic-a.xht",
"css/css-multicol/multicol-rule-large-002.xht",
"css/css-shapes/test-plan/index.html",
"css/css-sizing/support/dynamic-available-size-iframe.html",
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/META.yml (0 => 251739)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/META.yml (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/META.yml 2019-10-29 22:25:20 UTC (rev 251739)
@@ -0,0 +1,5 @@
+spec: https://drafts.csswg.org/css-color/
+suggested_reviewers:
+ - dbaron
+ - svgeesus
+ - tabatkins
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/OWNERS (251738 => 251739)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/OWNERS 2019-10-29 22:25:14 UTC (rev 251738)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/OWNERS 2019-10-29 22:25:20 UTC (rev 251739)
@@ -1,6 +0,0 @@
-@dbaron
-@JianfengXu
-@chenxix
-@tantek
-@svgeesus
-@tabatkins
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/animation/color-interpolation-expected.txt (0 => 251739)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/animation/color-interpolation-expected.txt (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/animation/color-interpolation-expected.txt 2019-10-29 22:25:20 UTC (rev 251739)
@@ -0,0 +1,122 @@
+
+PASS CSS Transitions: property <color> from neutral to [green] at (-0.3) should be [rgb(255, 255, 0)]
+PASS CSS Transitions: property <color> from neutral to [green] at (0) should be [rgb(255, 255, 0)]
+PASS CSS Transitions: property <color> from neutral to [green] at (0.3) should be [rgb(179, 217, 0)]
+PASS CSS Transitions: property <color> from neutral to [green] at (0.6) should be [rgb(102, 179, 0)]
+PASS CSS Transitions: property <color> from neutral to [green] at (1) should be [rgb(0, 128, 0)]
+PASS CSS Transitions: property <color> from neutral to [green] at (1.5) should be [rgb(0, 65, 0)]
+PASS CSS Transitions with transition: all: property <color> from neutral to [green] at (-0.3) should be [rgb(255, 255, 0)]
+PASS CSS Transitions with transition: all: property <color> from neutral to [green] at (0) should be [rgb(255, 255, 0)]
+PASS CSS Transitions with transition: all: property <color> from neutral to [green] at (0.3) should be [rgb(179, 217, 0)]
+PASS CSS Transitions with transition: all: property <color> from neutral to [green] at (0.6) should be [rgb(102, 179, 0)]
+PASS CSS Transitions with transition: all: property <color> from neutral to [green] at (1) should be [rgb(0, 128, 0)]
+PASS CSS Transitions with transition: all: property <color> from neutral to [green] at (1.5) should be [rgb(0, 65, 0)]
+PASS CSS Animations: property <color> from neutral to [green] at (-0.3) should be [rgb(255, 255, 0)]
+PASS CSS Animations: property <color> from neutral to [green] at (0) should be [rgb(255, 255, 0)]
+PASS CSS Animations: property <color> from neutral to [green] at (0.3) should be [rgb(179, 217, 0)]
+PASS CSS Animations: property <color> from neutral to [green] at (0.6) should be [rgb(102, 179, 0)]
+PASS CSS Animations: property <color> from neutral to [green] at (1) should be [rgb(0, 128, 0)]
+PASS CSS Animations: property <color> from neutral to [green] at (1.5) should be [rgb(0, 65, 0)]
+PASS Web Animations: property <color> from neutral to [green] at (-0.3) should be [rgb(255, 255, 0)]
+PASS Web Animations: property <color> from neutral to [green] at (0) should be [rgb(255, 255, 0)]
+PASS Web Animations: property <color> from neutral to [green] at (0.3) should be [rgb(179, 217, 0)]
+FAIL Web Animations: property <color> from neutral to [green] at (0.6) should be [rgb(102, 179, 0)] assert_equals: expected "rgb ( 102 , 179 , 0 ) " but got "rgb ( 72 , 164 , 0 ) "
+PASS Web Animations: property <color> from neutral to [green] at (1) should be [rgb(0, 128, 0)]
+FAIL Web Animations: property <color> from neutral to [green] at (1.5) should be [rgb(0, 65, 0)] assert_equals: expected "rgb ( 0 , 65 , 0 ) " but got "rgb ( 0 , 128 , 0 ) "
+PASS CSS Transitions: property <color> from [initial] to [green] at (-0.3) should be [rgb(0, 0, 0)]
+PASS CSS Transitions: property <color> from [initial] to [green] at (0) should be [rgb(0, 0, 0)]
+PASS CSS Transitions: property <color> from [initial] to [green] at (0.3) should be [rgb(0, 38, 0)]
+PASS CSS Transitions: property <color> from [initial] to [green] at (0.6) should be [rgb(0, 77, 0)]
+PASS CSS Transitions: property <color> from [initial] to [green] at (1) should be [rgb(0, 128, 0)]
+PASS CSS Transitions: property <color> from [initial] to [green] at (1.5) should be [rgb(0, 192, 0)]
+PASS CSS Transitions with transition: all: property <color> from [initial] to [green] at (-0.3) should be [rgb(0, 0, 0)]
+PASS CSS Transitions with transition: all: property <color> from [initial] to [green] at (0) should be [rgb(0, 0, 0)]
+PASS CSS Transitions with transition: all: property <color> from [initial] to [green] at (0.3) should be [rgb(0, 38, 0)]
+PASS CSS Transitions with transition: all: property <color> from [initial] to [green] at (0.6) should be [rgb(0, 77, 0)]
+PASS CSS Transitions with transition: all: property <color> from [initial] to [green] at (1) should be [rgb(0, 128, 0)]
+PASS CSS Transitions with transition: all: property <color> from [initial] to [green] at (1.5) should be [rgb(0, 192, 0)]
+PASS CSS Animations: property <color> from [initial] to [green] at (-0.3) should be [rgb(0, 0, 0)]
+PASS CSS Animations: property <color> from [initial] to [green] at (0) should be [rgb(0, 0, 0)]
+PASS CSS Animations: property <color> from [initial] to [green] at (0.3) should be [rgb(0, 38, 0)]
+PASS CSS Animations: property <color> from [initial] to [green] at (0.6) should be [rgb(0, 77, 0)]
+PASS CSS Animations: property <color> from [initial] to [green] at (1) should be [rgb(0, 128, 0)]
+PASS CSS Animations: property <color> from [initial] to [green] at (1.5) should be [rgb(0, 192, 0)]
+PASS Web Animations: property <color> from [initial] to [green] at (-0.3) should be [rgb(0, 0, 0)]
+PASS Web Animations: property <color> from [initial] to [green] at (0) should be [rgb(0, 0, 0)]
+PASS Web Animations: property <color> from [initial] to [green] at (0.3) should be [rgb(0, 38, 0)]
+PASS Web Animations: property <color> from [initial] to [green] at (0.6) should be [rgb(0, 77, 0)]
+PASS Web Animations: property <color> from [initial] to [green] at (1) should be [rgb(0, 128, 0)]
+PASS Web Animations: property <color> from [initial] to [green] at (1.5) should be [rgb(0, 192, 0)]
+PASS CSS Transitions: property <color> from [inherit] to [green] at (-0.3) should be [rgb(0, 0, 255)]
+PASS CSS Transitions: property <color> from [inherit] to [green] at (0) should be [rgb(0, 0, 255)]
+PASS CSS Transitions: property <color> from [inherit] to [green] at (0.3) should be [rgb(0, 38, 179)]
+PASS CSS Transitions: property <color> from [inherit] to [green] at (0.6) should be [rgb(0, 77, 102)]
+PASS CSS Transitions: property <color> from [inherit] to [green] at (1) should be [rgb(0, 128, 0)]
+PASS CSS Transitions: property <color> from [inherit] to [green] at (1.5) should be [rgb(0, 192, 0)]
+PASS CSS Transitions with transition: all: property <color> from [inherit] to [green] at (-0.3) should be [rgb(0, 0, 255)]
+PASS CSS Transitions with transition: all: property <color> from [inherit] to [green] at (0) should be [rgb(0, 0, 255)]
+PASS CSS Transitions with transition: all: property <color> from [inherit] to [green] at (0.3) should be [rgb(0, 38, 179)]
+PASS CSS Transitions with transition: all: property <color> from [inherit] to [green] at (0.6) should be [rgb(0, 77, 102)]
+PASS CSS Transitions with transition: all: property <color> from [inherit] to [green] at (1) should be [rgb(0, 128, 0)]
+PASS CSS Transitions with transition: all: property <color> from [inherit] to [green] at (1.5) should be [rgb(0, 192, 0)]
+FAIL CSS Animations: property <color> from [inherit] to [green] at (-0.3) should be [rgb(0, 0, 255)] assert_equals: expected "rgb ( 0 , 0 , 255 ) " but got "rgb ( 255 , 255 , 0 ) "
+FAIL CSS Animations: property <color> from [inherit] to [green] at (0) should be [rgb(0, 0, 255)] assert_equals: expected "rgb ( 0 , 0 , 255 ) " but got "rgb ( 255 , 255 , 0 ) "
+FAIL CSS Animations: property <color> from [inherit] to [green] at (0.3) should be [rgb(0, 38, 179)] assert_equals: expected "rgb ( 0 , 38 , 179 ) " but got "rgb ( 179 , 217 , 0 ) "
+FAIL CSS Animations: property <color> from [inherit] to [green] at (0.6) should be [rgb(0, 77, 102)] assert_equals: expected "rgb ( 0 , 77 , 102 ) " but got "rgb ( 102 , 179 , 0 ) "
+PASS CSS Animations: property <color> from [inherit] to [green] at (1) should be [rgb(0, 128, 0)]
+FAIL CSS Animations: property <color> from [inherit] to [green] at (1.5) should be [rgb(0, 192, 0)] assert_equals: expected "rgb ( 0 , 192 , 0 ) " but got "rgb ( 0 , 65 , 0 ) "
+FAIL Web Animations: property <color> from [inherit] to [green] at (-0.3) should be [rgb(0, 0, 255)] assert_equals: expected "rgb ( 0 , 0 , 255 ) " but got "rgb ( 255 , 255 , 0 ) "
+FAIL Web Animations: property <color> from [inherit] to [green] at (0) should be [rgb(0, 0, 255)] assert_equals: expected "rgb ( 0 , 0 , 255 ) " but got "rgb ( 255 , 255 , 0 ) "
+FAIL Web Animations: property <color> from [inherit] to [green] at (0.3) should be [rgb(0, 38, 179)] assert_equals: expected "rgb ( 0 , 38 , 179 ) " but got "rgb ( 179 , 217 , 0 ) "
+FAIL Web Animations: property <color> from [inherit] to [green] at (0.6) should be [rgb(0, 77, 102)] assert_equals: expected "rgb ( 0 , 77 , 102 ) " but got "rgb ( 72 , 164 , 0 ) "
+PASS Web Animations: property <color> from [inherit] to [green] at (1) should be [rgb(0, 128, 0)]
+FAIL Web Animations: property <color> from [inherit] to [green] at (1.5) should be [rgb(0, 192, 0)] assert_equals: expected "rgb ( 0 , 192 , 0 ) " but got "rgb ( 0 , 128 , 0 ) "
+PASS CSS Transitions: property <color> from [unset] to [green] at (-0.3) should be [rgb(0, 0, 255)]
+PASS CSS Transitions: property <color> from [unset] to [green] at (0) should be [rgb(0, 0, 255)]
+PASS CSS Transitions: property <color> from [unset] to [green] at (0.3) should be [rgb(0, 38, 179)]
+PASS CSS Transitions: property <color> from [unset] to [green] at (0.6) should be [rgb(0, 77, 102)]
+PASS CSS Transitions: property <color> from [unset] to [green] at (1) should be [rgb(0, 128, 0)]
+PASS CSS Transitions: property <color> from [unset] to [green] at (1.5) should be [rgb(0, 192, 0)]
+PASS CSS Transitions with transition: all: property <color> from [unset] to [green] at (-0.3) should be [rgb(0, 0, 255)]
+PASS CSS Transitions with transition: all: property <color> from [unset] to [green] at (0) should be [rgb(0, 0, 255)]
+PASS CSS Transitions with transition: all: property <color> from [unset] to [green] at (0.3) should be [rgb(0, 38, 179)]
+PASS CSS Transitions with transition: all: property <color> from [unset] to [green] at (0.6) should be [rgb(0, 77, 102)]
+PASS CSS Transitions with transition: all: property <color> from [unset] to [green] at (1) should be [rgb(0, 128, 0)]
+PASS CSS Transitions with transition: all: property <color> from [unset] to [green] at (1.5) should be [rgb(0, 192, 0)]
+FAIL CSS Animations: property <color> from [unset] to [green] at (-0.3) should be [rgb(0, 0, 255)] assert_equals: expected "rgb ( 0 , 0 , 255 ) " but got "rgb ( 255 , 255 , 0 ) "
+FAIL CSS Animations: property <color> from [unset] to [green] at (0) should be [rgb(0, 0, 255)] assert_equals: expected "rgb ( 0 , 0 , 255 ) " but got "rgb ( 255 , 255 , 0 ) "
+FAIL CSS Animations: property <color> from [unset] to [green] at (0.3) should be [rgb(0, 38, 179)] assert_equals: expected "rgb ( 0 , 38 , 179 ) " but got "rgb ( 179 , 217 , 0 ) "
+FAIL CSS Animations: property <color> from [unset] to [green] at (0.6) should be [rgb(0, 77, 102)] assert_equals: expected "rgb ( 0 , 77 , 102 ) " but got "rgb ( 102 , 179 , 0 ) "
+PASS CSS Animations: property <color> from [unset] to [green] at (1) should be [rgb(0, 128, 0)]
+FAIL CSS Animations: property <color> from [unset] to [green] at (1.5) should be [rgb(0, 192, 0)] assert_equals: expected "rgb ( 0 , 192 , 0 ) " but got "rgb ( 0 , 65 , 0 ) "
+FAIL Web Animations: property <color> from [unset] to [green] at (-0.3) should be [rgb(0, 0, 255)] assert_equals: expected "rgb ( 0 , 0 , 255 ) " but got "rgb ( 255 , 255 , 0 ) "
+FAIL Web Animations: property <color> from [unset] to [green] at (0) should be [rgb(0, 0, 255)] assert_equals: expected "rgb ( 0 , 0 , 255 ) " but got "rgb ( 255 , 255 , 0 ) "
+FAIL Web Animations: property <color> from [unset] to [green] at (0.3) should be [rgb(0, 38, 179)] assert_equals: expected "rgb ( 0 , 38 , 179 ) " but got "rgb ( 179 , 217 , 0 ) "
+FAIL Web Animations: property <color> from [unset] to [green] at (0.6) should be [rgb(0, 77, 102)] assert_equals: expected "rgb ( 0 , 77 , 102 ) " but got "rgb ( 72 , 164 , 0 ) "
+PASS Web Animations: property <color> from [unset] to [green] at (1) should be [rgb(0, 128, 0)]
+FAIL Web Animations: property <color> from [unset] to [green] at (1.5) should be [rgb(0, 192, 0)] assert_equals: expected "rgb ( 0 , 192 , 0 ) " but got "rgb ( 0 , 128 , 0 ) "
+PASS CSS Transitions: property <color> from [black] to [orange] at (-0.3) should be [rgb(0, 0, 0)]
+PASS CSS Transitions: property <color> from [black] to [orange] at (0) should be [rgb(0, 0, 0)]
+PASS CSS Transitions: property <color> from [black] to [orange] at (0.3) should be [rgb(77, 50, 0)]
+PASS CSS Transitions: property <color> from [black] to [orange] at (0.6) should be [rgb(153, 99, 0)]
+PASS CSS Transitions: property <color> from [black] to [orange] at (1) should be [rgb(255, 165, 0)]
+PASS CSS Transitions: property <color> from [black] to [orange] at (1.5) should be [rgb(255, 248, 0)]
+PASS CSS Transitions with transition: all: property <color> from [black] to [orange] at (-0.3) should be [rgb(0, 0, 0)]
+PASS CSS Transitions with transition: all: property <color> from [black] to [orange] at (0) should be [rgb(0, 0, 0)]
+PASS CSS Transitions with transition: all: property <color> from [black] to [orange] at (0.3) should be [rgb(77, 50, 0)]
+PASS CSS Transitions with transition: all: property <color> from [black] to [orange] at (0.6) should be [rgb(153, 99, 0)]
+PASS CSS Transitions with transition: all: property <color> from [black] to [orange] at (1) should be [rgb(255, 165, 0)]
+PASS CSS Transitions with transition: all: property <color> from [black] to [orange] at (1.5) should be [rgb(255, 248, 0)]
+PASS CSS Animations: property <color> from [black] to [orange] at (-0.3) should be [rgb(0, 0, 0)]
+PASS CSS Animations: property <color> from [black] to [orange] at (0) should be [rgb(0, 0, 0)]
+PASS CSS Animations: property <color> from [black] to [orange] at (0.3) should be [rgb(77, 50, 0)]
+PASS CSS Animations: property <color> from [black] to [orange] at (0.6) should be [rgb(153, 99, 0)]
+PASS CSS Animations: property <color> from [black] to [orange] at (1) should be [rgb(255, 165, 0)]
+PASS CSS Animations: property <color> from [black] to [orange] at (1.5) should be [rgb(255, 248, 0)]
+PASS Web Animations: property <color> from [black] to [orange] at (-0.3) should be [rgb(0, 0, 0)]
+PASS Web Animations: property <color> from [black] to [orange] at (0) should be [rgb(0, 0, 0)]
+PASS Web Animations: property <color> from [black] to [orange] at (0.3) should be [rgb(77, 50, 0)]
+PASS Web Animations: property <color> from [black] to [orange] at (0.6) should be [rgb(153, 99, 0)]
+PASS Web Animations: property <color> from [black] to [orange] at (1) should be [rgb(255, 165, 0)]
+PASS Web Animations: property <color> from [black] to [orange] at (1.5) should be [rgb(255, 248, 0)]
+
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/animation/color-interpolation.html (0 => 251739)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/animation/color-interpolation.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/animation/color-interpolation.html 2019-10-29 22:25:20 UTC (rev 251739)
@@ -0,0 +1,94 @@
+<!DOCTYPE html>
+<meta charset="UTF-8">
+<title>color interpolation</title>
+<link rel="help" href=""
+<meta name="assert" content="color supports animation by computed value type">
+
+<script src=""
+<script src=""
+<script src=""
+
+<style>
+.parent {
+ color: blue;
+}
+.target {
+ display: inline-block;
+ font-size: 60pt;
+ color: yellow;
+}
+.expected {
+ margin-right: 15px;
+}
+</style>
+
+<body>
+ <template id="target-template">T</template>
+</body>
+
+<script>
+test_interpolation({
+ property: 'color',
+ from: neutralKeyframe,
+ to: 'green',
+}, [
+ {at: -0.3, expect: 'rgb(255, 255, 0)'},
+ {at: 0, expect: 'rgb(255, 255, 0)'},
+ {at: 0.3, expect: 'rgb(179, 217, 0)'},
+ {at: 0.6, expect: 'rgb(102, 179, 0)'},
+ {at: 1, expect: 'rgb(0, 128, 0)'},
+ {at: 1.5, expect: 'rgb(0, 65, 0)'},
+]);
+
+test_interpolation({
+ property: 'color',
+ from: 'initial',
+ to: 'green',
+}, [
+ {at: -0.3, expect: 'rgb(0, 0, 0)'},
+ {at: 0, expect: 'rgb(0, 0, 0)'},
+ {at: 0.3, expect: 'rgb(0, 38, 0)'},
+ {at: 0.6, expect: 'rgb(0, 77, 0)'},
+ {at: 1, expect: 'rgb(0, 128, 0)'},
+ {at: 1.5, expect: 'rgb(0, 192, 0)'},
+]);
+
+test_interpolation({
+ property: 'color',
+ from: 'inherit',
+ to: 'green',
+}, [
+ {at: -0.3, expect: 'rgb(0, 0, 255)'},
+ {at: 0, expect: 'rgb(0, 0, 255)'},
+ {at: 0.3, expect: 'rgb(0, 38, 179)'},
+ {at: 0.6, expect: 'rgb(0, 77, 102)'},
+ {at: 1, expect: 'rgb(0, 128, 0)'},
+ {at: 1.5, expect: 'rgb(0, 192, 0)'},
+]);
+
+test_interpolation({
+ property: 'color',
+ from: 'unset',
+ to: 'green',
+}, [
+ {at: -0.3, expect: 'rgb(0, 0, 255)'},
+ {at: 0, expect: 'rgb(0, 0, 255)'},
+ {at: 0.3, expect: 'rgb(0, 38, 179)'},
+ {at: 0.6, expect: 'rgb(0, 77, 102)'},
+ {at: 1, expect: 'rgb(0, 128, 0)'},
+ {at: 1.5, expect: 'rgb(0, 192, 0)'},
+]);
+
+test_interpolation({
+ property: 'color',
+ from: 'black',
+ to: 'orange',
+}, [
+ {at: -0.3, expect: 'rgb(0, 0, 0)'},
+ {at: 0, expect: 'rgb(0, 0, 0)'},
+ {at: 0.3, expect: 'rgb(77, 50, 0)'},
+ {at: 0.6, expect: 'rgb(153, 99, 0)'},
+ {at: 1, expect: 'rgb(255, 165, 0)'},
+ {at: 1.5, expect: 'rgb(255, 248, 0)'},
+]);
+</script>
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/animation/opacity-interpolation-expected.txt (0 => 251739)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/animation/opacity-interpolation-expected.txt (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/animation/opacity-interpolation-expected.txt 2019-10-29 22:25:20 UTC (rev 251739)
@@ -0,0 +1,122 @@
+
+PASS CSS Transitions: property <opacity> from neutral to [0.2] at (-0.3) should be [0.07]
+PASS CSS Transitions: property <opacity> from neutral to [0.2] at (0) should be [0.1]
+PASS CSS Transitions: property <opacity> from neutral to [0.2] at (0.3) should be [0.13]
+PASS CSS Transitions: property <opacity> from neutral to [0.2] at (0.6) should be [0.16]
+PASS CSS Transitions: property <opacity> from neutral to [0.2] at (1) should be [0.2]
+PASS CSS Transitions: property <opacity> from neutral to [0.2] at (1.5) should be [0.25]
+PASS CSS Transitions with transition: all: property <opacity> from neutral to [0.2] at (-0.3) should be [0.07]
+PASS CSS Transitions with transition: all: property <opacity> from neutral to [0.2] at (0) should be [0.1]
+PASS CSS Transitions with transition: all: property <opacity> from neutral to [0.2] at (0.3) should be [0.13]
+PASS CSS Transitions with transition: all: property <opacity> from neutral to [0.2] at (0.6) should be [0.16]
+PASS CSS Transitions with transition: all: property <opacity> from neutral to [0.2] at (1) should be [0.2]
+PASS CSS Transitions with transition: all: property <opacity> from neutral to [0.2] at (1.5) should be [0.25]
+PASS CSS Animations: property <opacity> from neutral to [0.2] at (-0.3) should be [0.07]
+PASS CSS Animations: property <opacity> from neutral to [0.2] at (0) should be [0.1]
+PASS CSS Animations: property <opacity> from neutral to [0.2] at (0.3) should be [0.13]
+PASS CSS Animations: property <opacity> from neutral to [0.2] at (0.6) should be [0.16]
+PASS CSS Animations: property <opacity> from neutral to [0.2] at (1) should be [0.2]
+PASS CSS Animations: property <opacity> from neutral to [0.2] at (1.5) should be [0.25]
+FAIL Web Animations: property <opacity> from neutral to [0.2] at (-0.3) should be [0.07] assert_equals: expected "0.07 " but got "0.03 "
+FAIL Web Animations: property <opacity> from neutral to [0.2] at (0) should be [0.1] assert_equals: expected "0.1 " but got "0.07 "
+FAIL Web Animations: property <opacity> from neutral to [0.2] at (0.3) should be [0.13] assert_equals: expected "0.13 " but got "0.14 "
+FAIL Web Animations: property <opacity> from neutral to [0.2] at (0.6) should be [0.16] assert_equals: expected "0.16 " but got "0.19 "
+PASS Web Animations: property <opacity> from neutral to [0.2] at (1) should be [0.2]
+FAIL Web Animations: property <opacity> from neutral to [0.2] at (1.5) should be [0.25] assert_equals: expected "0.25 " but got "0.2 "
+PASS CSS Transitions: property <opacity> from [initial] to [0.2] at (-0.3) should be [1]
+PASS CSS Transitions: property <opacity> from [initial] to [0.2] at (0) should be [1]
+PASS CSS Transitions: property <opacity> from [initial] to [0.2] at (0.3) should be [0.76]
+PASS CSS Transitions: property <opacity> from [initial] to [0.2] at (0.6) should be [0.52]
+PASS CSS Transitions: property <opacity> from [initial] to [0.2] at (1) should be [0.2]
+PASS CSS Transitions: property <opacity> from [initial] to [0.2] at (1.5) should be [0]
+PASS CSS Transitions with transition: all: property <opacity> from [initial] to [0.2] at (-0.3) should be [1]
+PASS CSS Transitions with transition: all: property <opacity> from [initial] to [0.2] at (0) should be [1]
+PASS CSS Transitions with transition: all: property <opacity> from [initial] to [0.2] at (0.3) should be [0.76]
+PASS CSS Transitions with transition: all: property <opacity> from [initial] to [0.2] at (0.6) should be [0.52]
+PASS CSS Transitions with transition: all: property <opacity> from [initial] to [0.2] at (1) should be [0.2]
+PASS CSS Transitions with transition: all: property <opacity> from [initial] to [0.2] at (1.5) should be [0]
+PASS CSS Animations: property <opacity> from [initial] to [0.2] at (-0.3) should be [1]
+PASS CSS Animations: property <opacity> from [initial] to [0.2] at (0) should be [1]
+PASS CSS Animations: property <opacity> from [initial] to [0.2] at (0.3) should be [0.76]
+PASS CSS Animations: property <opacity> from [initial] to [0.2] at (0.6) should be [0.52]
+PASS CSS Animations: property <opacity> from [initial] to [0.2] at (1) should be [0.2]
+PASS CSS Animations: property <opacity> from [initial] to [0.2] at (1.5) should be [0]
+PASS Web Animations: property <opacity> from [initial] to [0.2] at (-0.3) should be [1]
+PASS Web Animations: property <opacity> from [initial] to [0.2] at (0) should be [1]
+PASS Web Animations: property <opacity> from [initial] to [0.2] at (0.3) should be [0.76]
+PASS Web Animations: property <opacity> from [initial] to [0.2] at (0.6) should be [0.52]
+PASS Web Animations: property <opacity> from [initial] to [0.2] at (1) should be [0.2]
+PASS Web Animations: property <opacity> from [initial] to [0.2] at (1.5) should be [0]
+PASS CSS Transitions: property <opacity> from [inherit] to [0.2] at (-0.3) should be [0.98]
+PASS CSS Transitions: property <opacity> from [inherit] to [0.2] at (0) should be [0.8]
+PASS CSS Transitions: property <opacity> from [inherit] to [0.2] at (0.3) should be [0.62]
+PASS CSS Transitions: property <opacity> from [inherit] to [0.2] at (0.6) should be [0.44]
+PASS CSS Transitions: property <opacity> from [inherit] to [0.2] at (1) should be [0.2]
+PASS CSS Transitions: property <opacity> from [inherit] to [0.2] at (1.5) should be [0]
+PASS CSS Transitions with transition: all: property <opacity> from [inherit] to [0.2] at (-0.3) should be [0.98]
+PASS CSS Transitions with transition: all: property <opacity> from [inherit] to [0.2] at (0) should be [0.8]
+PASS CSS Transitions with transition: all: property <opacity> from [inherit] to [0.2] at (0.3) should be [0.62]
+PASS CSS Transitions with transition: all: property <opacity> from [inherit] to [0.2] at (0.6) should be [0.44]
+PASS CSS Transitions with transition: all: property <opacity> from [inherit] to [0.2] at (1) should be [0.2]
+PASS CSS Transitions with transition: all: property <opacity> from [inherit] to [0.2] at (1.5) should be [0]
+FAIL CSS Animations: property <opacity> from [inherit] to [0.2] at (-0.3) should be [0.98] assert_equals: expected "0.98 " but got "0.07 "
+FAIL CSS Animations: property <opacity> from [inherit] to [0.2] at (0) should be [0.8] assert_equals: expected "0.8 " but got "0.1 "
+FAIL CSS Animations: property <opacity> from [inherit] to [0.2] at (0.3) should be [0.62] assert_equals: expected "0.62 " but got "0.13 "
+FAIL CSS Animations: property <opacity> from [inherit] to [0.2] at (0.6) should be [0.44] assert_equals: expected "0.44 " but got "0.16 "
+PASS CSS Animations: property <opacity> from [inherit] to [0.2] at (1) should be [0.2]
+FAIL CSS Animations: property <opacity> from [inherit] to [0.2] at (1.5) should be [0] assert_equals: expected "0 " but got "0.25 "
+FAIL Web Animations: property <opacity> from [inherit] to [0.2] at (-0.3) should be [0.98] assert_equals: expected "0.98 " but got "0.07 "
+FAIL Web Animations: property <opacity> from [inherit] to [0.2] at (0) should be [0.8] assert_equals: expected "0.8 " but got "0.07 "
+FAIL Web Animations: property <opacity> from [inherit] to [0.2] at (0.3) should be [0.62] assert_equals: expected "0.62 " but got "0.11 "
+FAIL Web Animations: property <opacity> from [inherit] to [0.2] at (0.6) should be [0.44] assert_equals: expected "0.44 " but got "0.16 "
+PASS Web Animations: property <opacity> from [inherit] to [0.2] at (1) should be [0.2]
+FAIL Web Animations: property <opacity> from [inherit] to [0.2] at (1.5) should be [0] assert_equals: expected "0 " but got "0.2 "
+PASS CSS Transitions: property <opacity> from [unset] to [0.2] at (-0.3) should be [1]
+PASS CSS Transitions: property <opacity> from [unset] to [0.2] at (0) should be [1]
+PASS CSS Transitions: property <opacity> from [unset] to [0.2] at (0.3) should be [0.76]
+PASS CSS Transitions: property <opacity> from [unset] to [0.2] at (0.6) should be [0.52]
+PASS CSS Transitions: property <opacity> from [unset] to [0.2] at (1) should be [0.2]
+PASS CSS Transitions: property <opacity> from [unset] to [0.2] at (1.5) should be [0]
+PASS CSS Transitions with transition: all: property <opacity> from [unset] to [0.2] at (-0.3) should be [1]
+PASS CSS Transitions with transition: all: property <opacity> from [unset] to [0.2] at (0) should be [1]
+PASS CSS Transitions with transition: all: property <opacity> from [unset] to [0.2] at (0.3) should be [0.76]
+PASS CSS Transitions with transition: all: property <opacity> from [unset] to [0.2] at (0.6) should be [0.52]
+PASS CSS Transitions with transition: all: property <opacity> from [unset] to [0.2] at (1) should be [0.2]
+PASS CSS Transitions with transition: all: property <opacity> from [unset] to [0.2] at (1.5) should be [0]
+PASS CSS Animations: property <opacity> from [unset] to [0.2] at (-0.3) should be [1]
+PASS CSS Animations: property <opacity> from [unset] to [0.2] at (0) should be [1]
+PASS CSS Animations: property <opacity> from [unset] to [0.2] at (0.3) should be [0.76]
+PASS CSS Animations: property <opacity> from [unset] to [0.2] at (0.6) should be [0.52]
+PASS CSS Animations: property <opacity> from [unset] to [0.2] at (1) should be [0.2]
+PASS CSS Animations: property <opacity> from [unset] to [0.2] at (1.5) should be [0]
+PASS Web Animations: property <opacity> from [unset] to [0.2] at (-0.3) should be [1]
+PASS Web Animations: property <opacity> from [unset] to [0.2] at (0) should be [1]
+PASS Web Animations: property <opacity> from [unset] to [0.2] at (0.3) should be [0.76]
+PASS Web Animations: property <opacity> from [unset] to [0.2] at (0.6) should be [0.52]
+PASS Web Animations: property <opacity> from [unset] to [0.2] at (1) should be [0.2]
+PASS Web Animations: property <opacity> from [unset] to [0.2] at (1.5) should be [0]
+PASS CSS Transitions: property <opacity> from [0] to [1] at (-0.3) should be [0]
+PASS CSS Transitions: property <opacity> from [0] to [1] at (0) should be [0]
+PASS CSS Transitions: property <opacity> from [0] to [1] at (0.3) should be [0.3]
+PASS CSS Transitions: property <opacity> from [0] to [1] at (0.6) should be [0.6]
+PASS CSS Transitions: property <opacity> from [0] to [1] at (1) should be [1]
+PASS CSS Transitions: property <opacity> from [0] to [1] at (1.5) should be [1]
+PASS CSS Transitions with transition: all: property <opacity> from [0] to [1] at (-0.3) should be [0]
+PASS CSS Transitions with transition: all: property <opacity> from [0] to [1] at (0) should be [0]
+PASS CSS Transitions with transition: all: property <opacity> from [0] to [1] at (0.3) should be [0.3]
+PASS CSS Transitions with transition: all: property <opacity> from [0] to [1] at (0.6) should be [0.6]
+PASS CSS Transitions with transition: all: property <opacity> from [0] to [1] at (1) should be [1]
+PASS CSS Transitions with transition: all: property <opacity> from [0] to [1] at (1.5) should be [1]
+PASS CSS Animations: property <opacity> from [0] to [1] at (-0.3) should be [0]
+PASS CSS Animations: property <opacity> from [0] to [1] at (0) should be [0]
+PASS CSS Animations: property <opacity> from [0] to [1] at (0.3) should be [0.3]
+PASS CSS Animations: property <opacity> from [0] to [1] at (0.6) should be [0.6]
+PASS CSS Animations: property <opacity> from [0] to [1] at (1) should be [1]
+PASS CSS Animations: property <opacity> from [0] to [1] at (1.5) should be [1]
+PASS Web Animations: property <opacity> from [0] to [1] at (-0.3) should be [0]
+PASS Web Animations: property <opacity> from [0] to [1] at (0) should be [0]
+PASS Web Animations: property <opacity> from [0] to [1] at (0.3) should be [0.3]
+PASS Web Animations: property <opacity> from [0] to [1] at (0.6) should be [0.6]
+PASS Web Animations: property <opacity> from [0] to [1] at (1) should be [1]
+PASS Web Animations: property <opacity> from [0] to [1] at (1.5) should be [1]
+
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/animation/opacity-interpolation.html (0 => 251739)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/animation/opacity-interpolation.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/animation/opacity-interpolation.html 2019-10-29 22:25:20 UTC (rev 251739)
@@ -0,0 +1,96 @@
+<!DOCTYPE html>
+<meta charset="UTF-8">
+<title>opacity interpolation</title>
+<link rel="help" href=""
+<meta name="assert" content="opacity supports animation">
+
+<script src=""
+<script src=""
+<script src=""
+
+<style>
+.parent {
+ opacity: 0.8;
+}
+
+.target {
+ width: 100px;
+ height: 100px;
+ background-color: black;
+ display: inline-block;
+ opacity: 0.1;
+}
+
+.expected {
+ background-color: green;
+}
+</style>
+
+<body>
+<script>
+test_interpolation({
+ property: 'opacity',
+ from: neutralKeyframe,
+ to: '0.2',
+}, [
+ {at: -0.3, expect: '0.07'},
+ {at: 0, expect: '0.1'},
+ {at: 0.3, expect: '0.13'},
+ {at: 0.6, expect: '0.16'},
+ {at: 1, expect: '0.2'},
+ {at: 1.5, expect: '0.25'},
+]);
+
+test_interpolation({
+ property: 'opacity',
+ from: 'initial',
+ to: '0.2',
+}, [
+ {at: -0.3, expect: '1'},
+ {at: 0, expect: '1'},
+ {at: 0.3, expect: '0.76'},
+ {at: 0.6, expect: '0.52'},
+ {at: 1, expect: '0.2'},
+ {at: 1.5, expect: '0'},
+]);
+
+test_interpolation({
+ property: 'opacity',
+ from: 'inherit',
+ to: '0.2',
+}, [
+ {at: -0.3, expect: '0.98'},
+ {at: 0, expect: '0.8'},
+ {at: 0.3, expect: '0.62'},
+ {at: 0.6, expect: '0.44'},
+ {at: 1, expect: '0.2'},
+ {at: 1.5, expect: '0'},
+]);
+
+test_interpolation({
+ property: 'opacity',
+ from: 'unset',
+ to: '0.2',
+}, [
+ {at: -0.3, expect: '1'},
+ {at: 0, expect: '1'},
+ {at: 0.3, expect: '0.76'},
+ {at: 0.6, expect: '0.52'},
+ {at: 1, expect: '0.2'},
+ {at: 1.5, expect: '0'},
+]);
+
+test_interpolation({
+ property: 'opacity',
+ from: '0',
+ to: '1'
+}, [
+ {at: -0.3, expect: '0'}, // CSS opacity is [0-1].
+ {at: 0, expect: '0'},
+ {at: 0.3, expect: '0.3'},
+ {at: 0.6, expect: '0.6'},
+ {at: 1, expect: '1'},
+ {at: 1.5, expect: '1'}
+]);
+</script>
+</body>
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/animation/w3c-import.log (0 => 251739)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/animation/w3c-import.log (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/animation/w3c-import.log 2019-10-29 22:25:20 UTC (rev 251739)
@@ -0,0 +1,18 @@
+The tests in this directory were imported from the W3C repository.
+Do NOT modify these tests directly in WebKit.
+Instead, create a pull request on the WPT github:
+ https://github.com/web-platform-tests/wpt
+
+Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport
+
+Do NOT modify or remove this file.
+
+------------------------------------------------------------------------
+Properties requiring vendor prefixes:
+None
+Property values requiring vendor prefixes:
+None
+------------------------------------------------------------------------
+List of files:
+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/animation/color-interpolation.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/animation/opacity-interpolation.html
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/composited-filters-under-opacity-expected.html (0 => 251739)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/composited-filters-under-opacity-expected.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/composited-filters-under-opacity-expected.html 2019-10-29 22:25:20 UTC (rev 251739)
@@ -0,0 +1,17 @@
+<!DOCTYPE html>
+<style>
+div {
+ position: absolute;
+}
+.content {
+ width: 100px;
+ height: 150px;
+ position: absolute;
+ background: blue;
+}
+</style>
+Below should be a light blue square in uniform color.
+<div style="opacity: 0.5; will-change: opacity">
+ <div class="content" style="left: 0"></div>
+ <div class="content" style="left: 50px"></div>
+</div>
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/composited-filters-under-opacity.html (0 => 251739)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/composited-filters-under-opacity.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/composited-filters-under-opacity.html 2019-10-29 22:25:20 UTC (rev 251739)
@@ -0,0 +1,20 @@
+<link rel="help" href=""
+<link rel="match" href=""
+<style>
+div {
+ position: absolute;
+ will-change: opacity;
+}
+.content {
+ width: 100px;
+ height: 150px;
+ position: absolute;
+ background: yellow;
+ filter: invert(100%);
+}
+</style>
+Below should be a light blue square in uniform color.
+<div style="opacity: 0.5">
+ <div class="content" style="left: 0"></div>
+ <div class="content" style="left: 50px"></div>
+</div>
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/inheritance-expected.txt (0 => 251739)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/inheritance-expected.txt (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/inheritance-expected.txt 2019-10-29 22:25:20 UTC (rev 251739)
@@ -0,0 +1,6 @@
+
+PASS Property color has initial value rgb(0, 0, 0)
+PASS Property color inherits
+PASS Property opacity has initial value 1
+PASS Property opacity does not inherit
+
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/inheritance.html (0 => 251739)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/inheritance.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/inheritance.html 2019-10-29 22:25:20 UTC (rev 251739)
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Inheritance of CSS Color properties</title>
+<link rel="help" href=""
+<meta name="assert" content="Properties inherit or not according to the spec.">
+<meta name="assert" content="Properties have initial values according to the spec.">
+<script src=""
+<script src=""
+<script src=""
+</head>
+<body>
+<div id="container">
+ <div id="target"></div>
+</div>
+<script>
+assert_inherited('color', 'rgb(0, 0, 0)', 'rgb(42, 53, 64)');
+assert_not_inherited('opacity', '1', '0.5');
+</script>
+</body>
+</html>
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/opacity-overlapping-letters-expected.html (0 => 251739)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/opacity-overlapping-letters-expected.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/opacity-overlapping-letters-expected.html 2019-10-29 22:25:20 UTC (rev 251739)
@@ -0,0 +1,3 @@
+<link rel="stylesheet" href=""
+<meta name="flags" content="ahem">
+<div style="opacity: 0.5; letter-spacing: -0.6em; font: 100px/1 Ahem; white-space: pre">X X X</div>
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/opacity-overlapping-letters.html (0 => 251739)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/opacity-overlapping-letters.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/opacity-overlapping-letters.html 2019-10-29 22:25:20 UTC (rev 251739)
@@ -0,0 +1,6 @@
+<link rel="help" href=""
+<link rel="match" href=""
+<link rel="stylesheet" href=""
+<meta name="flags" content="ahem">
+<meta name="assert" content="Opacity should be apply on the whole text content atomically.">
+<div style="opacity: 0.5; letter-spacing: -0.6em; font: 100px/1 Ahem">XXXXX</div>
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-computed-expected.txt (0 => 251739)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-computed-expected.txt (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-computed-expected.txt 2019-10-29 22:25:20 UTC (rev 251739)
@@ -0,0 +1,18 @@
+
+PASS Property color value 'currentcolor' computes to 'rgb(255, 0, 0)'
+PASS Property color value 'transparent' computes to 'rgba(0, 0, 0, 0)'
+PASS Property color value 'red' computes to 'rgb(255, 0, 0)'
+PASS Property color value 'magenta' computes to 'rgb(255, 0, 255)'
+PASS Property color value '#234' computes to 'rgb(34, 51, 68)'
+PASS Property color value '#FEDCBA' computes to 'rgb(254, 220, 186)'
+PASS Property color value 'rgb(2, 3, 4)' computes to 'rgb(2, 3, 4)'
+PASS Property color value 'rgb(100%, 0%, 0%)' computes to 'rgb(255, 0, 0)'
+FAIL Property color value 'rgba(2, 3, 4, 0.5)' computes to 'rgba(2, 3, 4, 0.5)' assert_equals: expected "rgba(2, 3, 4, 0.5)" but got "rgba(2, 3, 4, 0.498039)"
+FAIL Property color value 'rgba(2, 3, 4, 50%)' computes to 'rgba(2, 3, 4, 0.5)' assert_equals: expected "rgba(2, 3, 4, 0.5)" but got "rgba(2, 3, 4, 0.498039)"
+PASS Property color value 'hsl(120, 100%, 50%)' computes to 'rgb(0, 255, 0)'
+FAIL Property color value 'hsla(120, 100%, 50%, 0.25)' computes to 'rgba(0, 255, 0, 0.25)' assert_equals: expected "rgba(0, 255, 0, 0.25)" but got "rgba(0, 255, 0, 0.247059)"
+PASS Property color value 'rgb(-2, 3, 4)' computes to 'rgb(0, 3, 4)'
+PASS Property color value 'rgb(100, 200, 300)' computes to 'rgb(100, 200, 255)'
+PASS Property color value 'rgb(20, 10, 0, -10)' computes to 'rgba(20, 10, 0, 0)'
+PASS Property color value 'rgb(100%, 200%, 300%)' computes to 'rgb(255, 255, 255)'
+
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-computed.html (0 => 251739)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-computed.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-computed.html 2019-10-29 22:25:20 UTC (rev 251739)
@@ -0,0 +1,39 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>CSS Color Module Level 3: getComputedStyle().color</title>
+<link rel="help" href=""
+<script src=""
+<script src=""
+<script src=""
+</head>
+<body>
+<div id="container">
+ <div id="target"></div>
+</div>
+<style>
+ #container {
+ color: rgb(255, 0, 0);
+ }
+</style>
+<script>
+test_computed_value("color", "currentcolor", "rgb(255, 0, 0)");
+test_computed_value("color", "transparent", "rgba(0, 0, 0, 0)");
+test_computed_value("color", "red", "rgb(255, 0, 0)");
+test_computed_value("color", "magenta", "rgb(255, 0, 255)");
+test_computed_value("color", "#234", "rgb(34, 51, 68)");
+test_computed_value("color", "#FEDCBA", "rgb(254, 220, 186)");
+test_computed_value("color", "rgb(2, 3, 4)");
+test_computed_value("color", "rgb(100%, 0%, 0%)", "rgb(255, 0, 0)");
+test_computed_value("color", "rgba(2, 3, 4, 0.5)");
+test_computed_value("color", "rgba(2, 3, 4, 50%)", "rgba(2, 3, 4, 0.5)");
+test_computed_value("color", "hsl(120, 100%, 50%)", "rgb(0, 255, 0)");
+test_computed_value("color", "hsla(120, 100%, 50%, 0.25)", "rgba(0, 255, 0, 0.25)");
+test_computed_value("color", "rgb(-2, 3, 4)", "rgb(0, 3, 4)");
+test_computed_value("color", "rgb(100, 200, 300)", "rgb(100, 200, 255)");
+test_computed_value("color", "rgb(20, 10, 0, -10)", "rgba(20, 10, 0, 0)");
+test_computed_value("color", "rgb(100%, 200%, 300%)", "rgb(255, 255, 255)");
+</script>
+</body>
+</html>
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-invalid-expected.txt (0 => 251739)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-invalid-expected.txt (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-invalid-expected.txt 2019-10-29 22:25:20 UTC (rev 251739)
@@ -0,0 +1,12 @@
+
+PASS e.style['color'] = "auto" should not set the property value
+PASS e.style['color'] = "123" should not set the property value
+PASS e.style['color'] = "#12" should not set the property value
+PASS e.style['color'] = "#123456789" should not set the property value
+PASS e.style['color'] = "rgb" should not set the property value
+PASS e.style['color'] = "rgb(1)" should not set the property value
+PASS e.style['color'] = "rgb(1,2,3,4,5)" should not set the property value
+PASS e.style['color'] = "hsla(1,2,3,4,5)" should not set the property value
+PASS e.style['color'] = "rgb(10%, 20, 30%)" should not set the property value
+PASS e.style['color'] = "rgba(-2, 300, 400%, -0.5)" should not set the property value
+
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-invalid.html (0 => 251739)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-invalid.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-invalid.html 2019-10-29 22:25:20 UTC (rev 251739)
@@ -0,0 +1,27 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>CSS Color Module Level 3: parsing color with invalid values</title>
+<link rel="author" title="Eric Willigers" href=""
+<link rel="help" href=""
+<meta name="assert" content="color supports only the grammar '<color>'.">
+<script src=""
+<script src=""
+<script src=""
+</head>
+<body>
+<script>
+test_invalid_value("color", "auto");
+test_invalid_value("color", "123");
+test_invalid_value("color", "#12");
+test_invalid_value("color", "#123456789");
+test_invalid_value("color", "rgb");
+test_invalid_value("color", "rgb(1)");
+test_invalid_value("color", "rgb(1,2,3,4,5)");
+test_invalid_value("color", "hsla(1,2,3,4,5)");
+test_invalid_value("color", "rgb(10%, 20, 30%)");
+test_invalid_value("color", "rgba(-2, 300, 400%, -0.5)");
+</script>
+</body>
+</html>
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-valid-expected.txt (0 => 251739)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-valid-expected.txt (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-valid-expected.txt 2019-10-29 22:25:20 UTC (rev 251739)
@@ -0,0 +1,18 @@
+
+PASS e.style['color'] = "currentcolor" should set the property value
+PASS e.style['color'] = "transparent" should set the property value
+PASS e.style['color'] = "red" should set the property value
+PASS e.style['color'] = "magenta" should set the property value
+PASS e.style['color'] = "#234" should set the property value
+PASS e.style['color'] = "#FEDCBA" should set the property value
+PASS e.style['color'] = "rgb(2, 3, 4)" should set the property value
+PASS e.style['color'] = "rgb(100%, 0%, 0%)" should set the property value
+FAIL e.style['color'] = "rgba(2, 3, 4, 0.5)" should set the property value assert_equals: serialization should be canonical expected "rgba(2, 3, 4, 0.5)" but got "rgba(2, 3, 4, 0.498039)"
+FAIL e.style['color'] = "rgba(2, 3, 4, 50%)" should set the property value assert_equals: serialization should be canonical expected "rgba(2, 3, 4, 0.5)" but got "rgba(2, 3, 4, 0.498039)"
+PASS e.style['color'] = "hsl(120, 100%, 50%)" should set the property value
+FAIL e.style['color'] = "hsla(120, 100%, 50%, 0.25)" should set the property value assert_in_array: serialization should be sound value "rgba(0, 255, 0, 0.247059)" not in array ["rgba(0, 255, 0, 0.25)", "hsla(120, 100%, 50%, 0.25)"]
+PASS e.style['color'] = "rgb(-2, 3, 4)" should set the property value
+PASS e.style['color'] = "rgb(100, 200, 300)" should set the property value
+PASS e.style['color'] = "rgb(20, 10, 0, -10)" should set the property value
+PASS e.style['color'] = "rgb(100%, 200%, 300%)" should set the property value
+
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-valid.html (0 => 251739)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-valid.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-valid.html 2019-10-29 22:25:20 UTC (rev 251739)
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>CSS Color Module Level 3: parsing color with valid values</title>
+<link rel="author" title="Eric Willigers" href=""
+<link rel="help" href=""
+<meta name="assert" content="color supports the full grammar '<color>'.">
+<script src=""
+<script src=""
+<script src=""
+</head>
+<body>
+<script>
+test_valid_value("color", "currentcolor");
+test_valid_value("color", "transparent");
+test_valid_value("color", "red");
+test_valid_value("color", "magenta");
+test_valid_value("color", "#234", "rgb(34, 51, 68)");
+test_valid_value("color", "#FEDCBA", "rgb(254, 220, 186)");
+test_valid_value("color", "rgb(2, 3, 4)");
+test_valid_value("color", "rgb(100%, 0%, 0%)", "rgb(255, 0, 0)");
+test_valid_value("color", "rgba(2, 3, 4, 0.5)"); // Safari serializes alpha-value 0.498039
+test_valid_value("color", "rgba(2, 3, 4, 50%)", "rgba(2, 3, 4, 0.5)"); // Safari serializes alpha-value 0.498039
+test_valid_value("color", "hsl(120, 100%, 50%)", ["rgb(0, 255, 0)", "hsl(120, 100%, 50%)"]);
+test_valid_value("color", "hsla(120, 100%, 50%, 0.25)", ["rgba(0, 255, 0, 0.25)", "hsla(120, 100%, 50%, 0.25)"]); // Safari serializes alpha-value 0.247059
+test_valid_value("color", "rgb(-2, 3, 4)", "rgb(0, 3, 4)");
+test_valid_value("color", "rgb(100, 200, 300)", "rgb(100, 200, 255)");
+test_valid_value("color", "rgb(20, 10, 0, -10)", "rgba(20, 10, 0, 0)"); // Not supported by Edge/Safari.
+test_valid_value("color", "rgb(100%, 200%, 300%)", "rgb(255, 255, 255)");
+</script>
+</body>
+</html>
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/opacity-computed-expected.txt (0 => 251739)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/opacity-computed-expected.txt (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/opacity-computed-expected.txt 2019-10-29 22:25:20 UTC (rev 251739)
@@ -0,0 +1,10 @@
+
+PASS Property opacity value '1' computes to '1'
+PASS Property opacity value '0.5' computes to '0.5'
+PASS Property opacity value '0' computes to '0'
+PASS Property opacity value '-2' computes to '0'
+PASS Property opacity value '3' computes to '1'
+PASS Property opacity value '-100%' computes to '0'
+PASS Property opacity value '50%' computes to '0.5'
+PASS Property opacity value '300%' computes to '1'
+
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/opacity-computed.html (0 => 251739)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/opacity-computed.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/opacity-computed.html 2019-10-29 22:25:20 UTC (rev 251739)
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>CSS Grid Layout Test: getComputedStyle().opacity</title>
+<link rel="help" href=""
+<script src=""
+<script src=""
+<script src=""
+</head>
+<body>
+<div id="target"></div>
+<script>
+test_computed_value("opacity", "1");
+test_computed_value("opacity", "0.5");
+test_computed_value("opacity", "0");
+test_computed_value("opacity", "-2", "0");
+test_computed_value("opacity", "3", "1");
+test_computed_value("opacity", "-100%", "0");
+test_computed_value("opacity", "50%", "0.5");
+test_computed_value("opacity", "300%", "1");
+
+</script>
+</body>
+</html>
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/opacity-invalid-expected.txt (0 => 251739)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/opacity-invalid-expected.txt (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/opacity-invalid-expected.txt 2019-10-29 22:25:20 UTC (rev 251739)
@@ -0,0 +1,5 @@
+
+PASS e.style['opacity'] = "auto" should not set the property value
+PASS e.style['opacity'] = "10px" should not set the property value
+PASS e.style['opacity'] = "0 1" should not set the property value
+
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/opacity-invalid.html (0 => 251739)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/opacity-invalid.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/opacity-invalid.html 2019-10-29 22:25:20 UTC (rev 251739)
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>CSS opacity Module Level 3: parsing opacity with invalid values</title>
+<link rel="author" title="Eric Willigers" href=""
+<link rel="help" href=""
+<meta name="assert" content="opacity supports only the grammar '<alphavalue>'.">
+<script src=""
+<script src=""
+<script src=""
+</head>
+<body>
+<script>
+test_invalid_value("opacity", "auto");
+test_invalid_value("opacity", "10px");
+test_invalid_value("opacity", "0 1");
+</script>
+</body>
+</html>
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/opacity-valid-expected.txt (0 => 251739)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/opacity-valid-expected.txt (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/opacity-valid-expected.txt 2019-10-29 22:25:20 UTC (rev 251739)
@@ -0,0 +1,10 @@
+
+PASS e.style['opacity'] = "1" should set the property value
+PASS e.style['opacity'] = "0.5" should set the property value
+PASS e.style['opacity'] = "0" should set the property value
+PASS e.style['opacity'] = "-2" should set the property value
+PASS e.style['opacity'] = "3" should set the property value
+FAIL e.style['opacity'] = "-100%" should set the property value assert_equals: serialization should be canonical expected "-1" but got "-100%"
+FAIL e.style['opacity'] = "50%" should set the property value assert_equals: serialization should be canonical expected "0.5" but got "50%"
+FAIL e.style['opacity'] = "300%" should set the property value assert_equals: serialization should be canonical expected "3" but got "300%"
+
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/opacity-valid.html (0 => 251739)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/opacity-valid.html (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/opacity-valid.html 2019-10-29 22:25:20 UTC (rev 251739)
@@ -0,0 +1,26 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>CSS opacity Module Level 3: parsing opacity with valid values</title>
+<link rel="author" title="Eric Willigers" href=""
+<link rel="help" href=""
+<meta name="assert" content="opacity supports the full grammar '<alphavalue>'.">
+<script src=""
+<script src=""
+<script src=""
+</head>
+<body>
+<script>
+test_valid_value("opacity", "1");
+test_valid_value("opacity", "0.5");
+test_valid_value("opacity", "0");
+test_valid_value("opacity", "-2");
+test_valid_value("opacity", "3");
+test_valid_value("opacity", "-100%", "-1");
+test_valid_value("opacity", "50%", "0.5");
+test_valid_value("opacity", "300%", "3");
+
+</script>
+</body>
+</html>
Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/w3c-import.log (0 => 251739)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/w3c-import.log (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/w3c-import.log 2019-10-29 22:25:20 UTC (rev 251739)
@@ -0,0 +1,22 @@
+The tests in this directory were imported from the W3C repository.
+Do NOT modify these tests directly in WebKit.
+Instead, create a pull request on the WPT github:
+ https://github.com/web-platform-tests/wpt
+
+Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport
+
+Do NOT modify or remove this file.
+
+------------------------------------------------------------------------
+Properties requiring vendor prefixes:
+None
+Property values requiring vendor prefixes:
+None
+------------------------------------------------------------------------
+List of files:
+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-computed.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-invalid.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-valid.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/opacity-computed.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/opacity-invalid.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/opacity-valid.html
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/t31-color-text-a-expected.xht (251738 => 251739)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/t31-color-text-a-expected.xht 2019-10-29 22:25:14 UTC (rev 251738)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/t31-color-text-a-expected.xht 2019-10-29 22:25:20 UTC (rev 251739)
@@ -2,7 +2,6 @@
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>CSS Notref Black "should be green"</title>
- <link rel="author" title="Geoffrey Sneddon" href="" />
<style type="text/css"><![CDATA[
#one { color: #000; color: rgb(0,0,0); color: black; }
]]></style>
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/t32-opacity-zorder-c.xht (251738 => 251739)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/t32-opacity-zorder-c.xht 2019-10-29 22:25:14 UTC (rev 251738)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/t32-opacity-zorder-c.xht 2019-10-29 22:25:20 UTC (rev 251739)
@@ -25,12 +25,12 @@
<p>Each of the following boxes should have a green or
very-nearly-green square inside of it:</p>
<table><tr>
- <!-- baseline -->
+ <!-- baseline -->
<td>
<div class="red"></div>
<div class="up green"></div>
</td>
- <!-- z-index auto or 0 is in positioned elements layer -->
+ <!-- z-index auto or 0 is in positioned elements layer -->
<td>
<div class="pos red"></div>
<div class="up opc green"></div>
@@ -61,7 +61,7 @@
<div class="up pos green"></div>
<div class="up red"></div>
</td>
- <!-- baseline: make sure z-index: auto works -->
+ <!-- baseline: make sure z-index: auto works -->
<td>
<div class="pos">
<div class="pos green z1"></div>
@@ -71,7 +71,7 @@
<div class="up pos red"></div>
<div class="up red"></div>
</td>
- <!-- baseline: make sure z-index: 0 works -->
+ <!-- baseline: make sure z-index: 0 works -->
<td>
<div class="pos z0">
<div class="pos red z1"></div>
@@ -80,7 +80,7 @@
<div class="up pos green"></div>
<div class="up red"></div>
</td>
- <!-- make sure opacity acts like z-index: 0, not auto -->
+ <!-- make sure opacity acts like z-index: 0, not auto -->
<td>
<div class="opc">
<div class="pos red z1"></div>
@@ -89,7 +89,7 @@
<div class="up pos green"></div>
<div class="up red"></div>
</td>
- <!-- make sure z-index does not apply to elements with opacity if they aren't positioned -->
+ <!-- make sure z-index does not apply to elements with opacity if they aren't positioned -->
<td>
<div class="opc z1 red"></div>
<div class="up opc red"></div>
@@ -96,7 +96,7 @@
<div class="up opc z0 red"></div>
<div class="up opc zm1 green"></div>
</td>
- <!-- ... but that it does if they are positioned -->
+ <!-- ... but that it does if they are positioned -->
<td>
<div class="pos opc z1 green"></div>
<div class="up pos opc red"></div>
Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/w3c-import.log (251738 => 251739)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/w3c-import.log 2019-10-29 22:25:14 UTC (rev 251738)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/w3c-import.log 2019-10-29 22:25:20 UTC (rev 251739)
@@ -1,7 +1,7 @@
The tests in this directory were imported from the W3C repository.
Do NOT modify these tests directly in WebKit.
Instead, create a pull request on the WPT github:
- https://github.com/w3c/web-platform-tests
+ https://github.com/web-platform-tests/wpt
Then run the Tools/Scripts/import-w3c-tests in WebKit to reimport
@@ -15,7 +15,7 @@
------------------------------------------------------------------------
List of files:
/LayoutTests/imported/w3c/web-platform-tests/css/css-color/LICENSE
-/LayoutTests/imported/w3c/web-platform-tests/css/css-color/OWNERS
+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/META.yml
/LayoutTests/imported/w3c/web-platform-tests/css/css-color/border-bottom-color-expected.xht
/LayoutTests/imported/w3c/web-platform-tests/css/css-color/border-bottom-color.xht
/LayoutTests/imported/w3c/web-platform-tests/css/css-color/border-left-color-expected.xht
@@ -34,6 +34,8 @@
/LayoutTests/imported/w3c/web-platform-tests/css/css-color/color-resolving-hsl.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-color/color-resolving-keywords.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-color/color-resolving.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/composited-filters-under-opacity-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/composited-filters-under-opacity.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-color/currentcolor-001-expected.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-color/currentcolor-001.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-color/currentcolor-002-expected.html
@@ -79,6 +81,7 @@
/LayoutTests/imported/w3c/web-platform-tests/css/css-color/hsla-008-expected.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-color/hsla-008.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-color/htaccess
+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/inheritance.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-color/lab-001-expected.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-color/lab-001.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-color/lab-002-expected.html
@@ -109,6 +112,8 @@
/LayoutTests/imported/w3c/web-platform-tests/css/css-color/lch-007.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-color/named-001-expected.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-color/named-001.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/opacity-overlapping-letters-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/opacity-overlapping-letters.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-color/rgb-001-expected.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-color/rgb-001.html
/LayoutTests/imported/w3c/web-platform-tests/css/css-color/rgb-002-expected.html
Modified: trunk/LayoutTests/tests-options.json (251738 => 251739)
--- trunk/LayoutTests/tests-options.json 2019-10-29 22:25:14 UTC (rev 251738)
+++ trunk/LayoutTests/tests-options.json 2019-10-29 22:25:20 UTC (rev 251739)
@@ -11,6 +11,9 @@
"http/tests/xmlhttprequest/timeout-greater-than-default-network-timeout.html": [
"slow"
],
+ "imported/w3c/css/css-color/color-resolving-hsl.html": [
+ "slow"
+ ],
"imported/w3c/css/css-values/vh_not_refreshing_on_chrome.html": [
"slow"
],