Update css/css-color WPT
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 29 Oct 2019 22:25:20 +0000 (22:25 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 29 Oct 2019 22:25:20 +0000 (22:25 +0000)
https://bugs.webkit.org/show_bug.cgi?id=203585

Reviewed by Zalan Bujtas.
LayoutTests/imported/w3c:

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:

LayoutTests:

* tests-options.json:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@251739 268f45cc-cd09-0410-ab3c-d52691b4dbfc

34 files changed:
LayoutTests/ChangeLog
LayoutTests/imported/w3c/ChangeLog
LayoutTests/imported/w3c/resources/import-expectations.json
LayoutTests/imported/w3c/resources/resource-files.json
LayoutTests/imported/w3c/web-platform-tests/css/css-color/META.yml [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-color/OWNERS [deleted file]
LayoutTests/imported/w3c/web-platform-tests/css/css-color/animation/color-interpolation-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-color/animation/color-interpolation.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-color/animation/opacity-interpolation-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-color/animation/opacity-interpolation.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-color/animation/w3c-import.log [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-color/composited-filters-under-opacity-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-color/composited-filters-under-opacity.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-color/inheritance-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-color/inheritance.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-color/opacity-overlapping-letters-expected.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-color/opacity-overlapping-letters.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-computed-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-computed.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-invalid-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-invalid.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-valid-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-valid.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/opacity-computed-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/opacity-computed.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/opacity-invalid-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/opacity-invalid.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/opacity-valid-expected.txt [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/opacity-valid.html [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/w3c-import.log [new file with mode: 0644]
LayoutTests/imported/w3c/web-platform-tests/css/css-color/t31-color-text-a-expected.xht
LayoutTests/imported/w3c/web-platform-tests/css/css-color/t32-opacity-zorder-c.xht
LayoutTests/imported/w3c/web-platform-tests/css/css-color/w3c-import.log
LayoutTests/tests-options.json

index 9ee949a..934ad2e 100644 (file)
 
 2019-10-29  Simon Fraser  <simon.fraser@apple.com>
 
+        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  <simon.fraser@apple.com>
+
         Flaky Test: imported/w3c/web-platform-tests/css/css-values/absolute_length_units.html
         https://bugs.webkit.org/show_bug.cgi?id=203581
 
index 226d07c..24003da 100644 (file)
@@ -1,5 +1,46 @@
 2019-10-29  Simon Fraser  <simon.fraser@apple.com>
 
+        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  <simon.fraser@apple.com>
+
         Import css/css-box WPT
         https://bugs.webkit.org/show_bug.cgi?id=203584
 
index 0c22009..510fa1d 100644 (file)
@@ -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", 
index 1b07ae4..02f1ebf 100644 (file)
         "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",
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-color/META.yml b/LayoutTests/imported/w3c/web-platform-tests/css/css-color/META.yml
new file mode 100644 (file)
index 0000000..a0e70aa
--- /dev/null
@@ -0,0 +1,5 @@
+spec: https://drafts.csswg.org/css-color/
+suggested_reviewers:
+  - dbaron
+  - svgeesus
+  - tabatkins
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-color/OWNERS b/LayoutTests/imported/w3c/web-platform-tests/css/css-color/OWNERS
deleted file mode 100644 (file)
index 567cfca..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-@dbaron
-@JianfengXu
-@chenxix
-@tantek
-@svgeesus
-@tabatkins
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-color/animation/color-interpolation-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/css/css-color/animation/color-interpolation-expected.txt
new file mode 100644 (file)
index 0000000..dc3154e
--- /dev/null
@@ -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)] 
+
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-color/animation/color-interpolation.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-color/animation/color-interpolation.html
new file mode 100644 (file)
index 0000000..4b39fdc
--- /dev/null
@@ -0,0 +1,94 @@
+<!DOCTYPE html>
+<meta charset="UTF-8">
+<title>color interpolation</title>
+<link rel="help" href="https://drafts.csswg.org/css-color/#the-color-property">
+<meta name="assert" content="color supports animation by computed value type">
+
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script src="/css/support/interpolation-testcommon.js"></script>
+
+<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>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-color/animation/opacity-interpolation-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/css/css-color/animation/opacity-interpolation-expected.txt
new file mode 100644 (file)
index 0000000..6a467c4
--- /dev/null
@@ -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] 
+
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-color/animation/opacity-interpolation.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-color/animation/opacity-interpolation.html
new file mode 100644 (file)
index 0000000..ce26a8c
--- /dev/null
@@ -0,0 +1,96 @@
+<!DOCTYPE html>
+<meta charset="UTF-8">
+<title>opacity interpolation</title>
+<link rel="help" href="https://drafts.csswg.org/css-color-3/#opacity">
+<meta name="assert" content="opacity supports animation">
+
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script src="/css/support/interpolation-testcommon.js"></script>
+
+<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>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-color/animation/w3c-import.log b/LayoutTests/imported/w3c/web-platform-tests/css/css-color/animation/w3c-import.log
new file mode 100644 (file)
index 0000000..200a289
--- /dev/null
@@ -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
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-color/composited-filters-under-opacity-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-color/composited-filters-under-opacity-expected.html
new file mode 100644 (file)
index 0000000..73b4201
--- /dev/null
@@ -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>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-color/composited-filters-under-opacity.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-color/composited-filters-under-opacity.html
new file mode 100644 (file)
index 0000000..f613748
--- /dev/null
@@ -0,0 +1,20 @@
+<link rel="help" href="http://www.w3.org/TR/css3-color/#transparency">
+<link rel="match" href="composited-filters-under-opacity-ref.html">
+<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>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-color/inheritance-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/css/css-color/inheritance-expected.txt
new file mode 100644 (file)
index 0000000..2c8c8b4
--- /dev/null
@@ -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 
+
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-color/inheritance.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-color/inheritance.html
new file mode 100644 (file)
index 0000000..2928bfa
--- /dev/null
@@ -0,0 +1,22 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>Inheritance of CSS Color properties</title>
+<link rel="help" href="https://drafts.csswg.org/css-color/#property-index">
+<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="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script src="/css/support/inheritance-testcommon.js"></script>
+</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>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-color/opacity-overlapping-letters-expected.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-color/opacity-overlapping-letters-expected.html
new file mode 100644 (file)
index 0000000..bab1f80
--- /dev/null
@@ -0,0 +1,3 @@
+<link rel="stylesheet" href="/fonts/ahem.css">
+<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>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-color/opacity-overlapping-letters.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-color/opacity-overlapping-letters.html
new file mode 100644 (file)
index 0000000..65ab374
--- /dev/null
@@ -0,0 +1,6 @@
+<link rel="help" href="http://www.w3.org/TR/css3-color/#transparency">
+<link rel="match" href="opacity-overlapping-letters-ref.html">
+<link rel="stylesheet" href="/fonts/ahem.css">
+<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>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-computed-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-computed-expected.txt
new file mode 100644 (file)
index 0000000..2394e6a
--- /dev/null
@@ -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)' 
+
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-computed.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-computed.html
new file mode 100644 (file)
index 0000000..973b454
--- /dev/null
@@ -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="https://drafts.csswg.org/css-color/#propdef-color">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script src="/css/support/computed-testcommon.js"></script>
+</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>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-invalid-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-invalid-expected.txt
new file mode 100644 (file)
index 0000000..8f8a3b2
--- /dev/null
@@ -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 
+
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-invalid.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-invalid.html
new file mode 100644 (file)
index 0000000..676ffb3
--- /dev/null
@@ -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="mailto:ericwilligers@chromium.org">
+<link rel="help" href="https://www.w3.org/TR/css-color-3/#color0">
+<meta name="assert" content="color supports only the grammar '<color>'.">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script src="/css/support/parsing-testcommon.js"></script>
+</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>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-valid-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-valid-expected.txt
new file mode 100644 (file)
index 0000000..4c2420c
--- /dev/null
@@ -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 
+
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-valid.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-valid.html
new file mode 100644 (file)
index 0000000..48e9756
--- /dev/null
@@ -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="mailto:ericwilligers@chromium.org">
+<link rel="help" href="https://www.w3.org/TR/css-color-3/#color0">
+<meta name="assert" content="color supports the full grammar '<color>'.">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script src="/css/support/parsing-testcommon.js"></script>
+</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>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/opacity-computed-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/opacity-computed-expected.txt
new file mode 100644 (file)
index 0000000..1828eb9
--- /dev/null
@@ -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' 
+
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/opacity-computed.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/opacity-computed.html
new file mode 100644 (file)
index 0000000..ba93181
--- /dev/null
@@ -0,0 +1,25 @@
+<!DOCTYPE html>
+<html>
+<head>
+<meta charset="utf-8">
+<title>CSS Grid Layout Test: getComputedStyle().opacity</title>
+<link rel="help" href="https://www.w3.org/TR/css-color-3/#opacity">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script src="/css/support/computed-testcommon.js"></script>
+</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>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/opacity-invalid-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/opacity-invalid-expected.txt
new file mode 100644 (file)
index 0000000..b6eb7e2
--- /dev/null
@@ -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 
+
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/opacity-invalid.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/opacity-invalid.html
new file mode 100644 (file)
index 0000000..1bcf4c5
--- /dev/null
@@ -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="mailto:ericwilligers@chromium.org">
+<link rel="help" href="https://www.w3.org/TR/css-color-3/#opacity">
+<meta name="assert" content="opacity supports only the grammar '<alphavalue>'.">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script src="/css/support/parsing-testcommon.js"></script>
+</head>
+<body>
+<script>
+test_invalid_value("opacity", "auto");
+test_invalid_value("opacity", "10px");
+test_invalid_value("opacity", "0 1");
+</script>
+</body>
+</html>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/opacity-valid-expected.txt b/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/opacity-valid-expected.txt
new file mode 100644 (file)
index 0000000..dca3b3f
--- /dev/null
@@ -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%"
+
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/opacity-valid.html b/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/opacity-valid.html
new file mode 100644 (file)
index 0000000..daa8d86
--- /dev/null
@@ -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="mailto:ericwilligers@chromium.org">
+<link rel="help" href="https://www.w3.org/TR/css-color-3/#opacity">
+<meta name="assert" content="opacity supports the full grammar '<alphavalue>'.">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<script src="/css/support/parsing-testcommon.js"></script>
+</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>
diff --git a/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/w3c-import.log b/LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/w3c-import.log
new file mode 100644 (file)
index 0000000..56a61ad
--- /dev/null
@@ -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
index f11a57f..95a0e03 100644 (file)
@@ -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="mailto:me@gsnedders.com" />
                <style type="text/css"><![CDATA[
                        #one { color: #000; color: rgb(0,0,0); color: black; }
                ]]></style>
index 230d721..7d733c8 100644 (file)
                <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>
                                <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>
                                <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>
index 3ce0bcc..b432fe3 100644 (file)
@@ -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 @@ None
 ------------------------------------------------------------------------
 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 @@ List of files:
 /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 @@ List of files:
 /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 @@ List of files:
 /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
index 900d1b0..4ab5c25 100644 (file)
@@ -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"
     ],