<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[277077] trunk/LayoutTests</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="http://trac.webkit.org/projects/webkit/changeset/277077">277077</a></dd>
<dt>Author</dt> <dd>ntim@apple.com</dd>
<dt>Date</dt> <dd>2021-05-06 02:44:37 -0700 (Thu, 06 May 2021)</dd>
</dl>

<h3>Log Message</h3>
<pre>Re-import css/css-color & css/css-color-adjust WPT
https://bugs.webkit.org/show_bug.cgi?id=225438

Reviewed by Youenn Fablet.

LayoutTests/imported/w3c:

* resources/resource-files.json:
* web-platform-tests/css/css-color-adjust/META.yml: Added.
* web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-iframe-background-mismatch-opaque-cross-origin.sub-expected.html: Added.
* web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-iframe-background-mismatch-opaque-cross-origin.sub.html: Added.
* web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-system-colors-expected.txt: Added.
* web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-system-colors.html: Added.
* web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/w3c-import.log:
* web-platform-tests/css/css-color-adjust/w3c-import.log:
* web-platform-tests/css/css-color/color-function-parsing.html:
* web-platform-tests/css/css-color/color-function-parsing-expected.txt:
* web-platform-tests/css/css-color/color-mix-basic-001.tentative-expected.txt: Added.
* web-platform-tests/css/css-color/color-mix-basic-001.tentative.html: Added.
* web-platform-tests/css/css-color/predefined-014-expected.html: Removed.
* web-platform-tests/css/css-color/predefined-014.html: Removed.
* web-platform-tests/css/css-color/predefined-015-expected.html: Removed.
* web-platform-tests/css/css-color/predefined-015.html: Removed.
* web-platform-tests/css/css-color/w3c-import.log:

LayoutTests:

* TestExpectations:</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsChangeLog">trunk/LayoutTests/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsTestExpectations">trunk/LayoutTests/TestExpectations</a></li>
<li><a href="#trunkLayoutTestsimportedw3cChangeLog">trunk/LayoutTests/imported/w3c/ChangeLog</a></li>
<li><a href="#trunkLayoutTestsimportedw3cresourcesresourcefilesjson">trunk/LayoutTests/imported/w3c/resources/resource-files.json</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestscsscsscolorcolorfunctionparsingexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/color-function-parsing-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestscsscsscolorcolorfunctionparsinghtml">trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/color-function-parsing.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestscsscsscolorw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestscsscsscoloradjustrenderingdarkcolorschemew3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/w3c-import.log</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestscsscsscoloradjustw3cimportlog">trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/w3c-import.log</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestscsscsscolorcolormixbasic001tentativeexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/color-mix-basic-001.tentative-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestscsscsscolorcolormixbasic001tentativehtml">trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/color-mix-basic-001.tentative.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestscsscsscoloradjustMETAyml">trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/META.yml</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestscsscsscoloradjustrenderingdarkcolorschemecolorschemeiframebackgroundmismatchopaquecrossoriginsubexpectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-iframe-background-mismatch-opaque-cross-origin.sub-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestscsscsscoloradjustrenderingdarkcolorschemecolorschemeiframebackgroundmismatchopaquecrossoriginsubhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-iframe-background-mismatch-opaque-cross-origin.sub.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestscsscsscoloradjustrenderingdarkcolorschemecolorschemesystemcolorsexpectedtxt">trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-system-colors-expected.txt</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestscsscsscoloradjustrenderingdarkcolorschemecolorschemesystemcolorshtml">trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-system-colors.html</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestscsscsscolorpredefined014expectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-014-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestscsscsscolorpredefined014html">trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-014.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestscsscsscolorpredefined015expectedhtml">trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-015-expected.html</a></li>
<li><a href="#trunkLayoutTestsimportedw3cwebplatformtestscsscsscolorpredefined015html">trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-015.html</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkLayoutTestsChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/ChangeLog (277076 => 277077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/ChangeLog      2021-05-06 09:17:02 UTC (rev 277076)
+++ trunk/LayoutTests/ChangeLog 2021-05-06 09:44:37 UTC (rev 277077)
</span><span class="lines">@@ -1,5 +1,14 @@
</span><span class="cx"> 2021-05-06  Tim Nguyen  <ntim@apple.com>
</span><span class="cx"> 
</span><ins>+        Re-import css/css-color & css/css-color-adjust WPT
+        https://bugs.webkit.org/show_bug.cgi?id=225438
+
+        Reviewed by Youenn Fablet.
+
+        * TestExpectations:
+
+2021-05-06  Tim Nguyen  <ntim@apple.com>
+
</ins><span class="cx">         Re-import css/css-backgrounds WPTs
</span><span class="cx">         https://bugs.webkit.org/show_bug.cgi?id=225408
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsTestExpectations"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/TestExpectations (277076 => 277077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/TestExpectations       2021-05-06 09:17:02 UTC (rev 277076)
+++ trunk/LayoutTests/TestExpectations  2021-05-06 09:44:37 UTC (rev 277077)
</span><span class="lines">@@ -4325,6 +4325,7 @@
</span><span class="cx"> webkit.org/b/214455 imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-iframe-background.html [ ImageOnlyFailure ]
</span><span class="cx"> webkit.org/b/214455 imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-iframe-background-mismatch-alpha.html [ ImageOnlyFailure ]
</span><span class="cx"> webkit.org/b/214455 imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-iframe-background-mismatch-opaque.html [ ImageOnlyFailure ]
</span><ins>+webkit.org/b/214455 imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-iframe-background-mismatch-opaque-cross-origin.sub.html [ ImageOnlyFailure ]
</ins><span class="cx"> webkit.org/b/214455 imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-visited-link-initial.html [ ImageOnlyFailure ]
</span><span class="cx"> 
</span><span class="cx"> webkit.org/b/214456 imported/w3c/web-platform-tests/css/css-images/conic-gradient-angle.html [ ImageOnlyFailure ]
</span><span class="lines">@@ -4619,10 +4620,6 @@
</span><span class="cx"> webanimations/transform-property-and-transform-animation-with-delay-on-forced-layer.html [ Skip ]
</span><span class="cx"> webanimations/translate-property-and-translate-animation-with-delay-on-forced-layer.html [ Skip ]
</span><span class="cx"> 
</span><del>-# Unsupported css color() fallback feature
-webkit.org/b/220928 imported/w3c/web-platform-tests/css/css-color/predefined-014.html [ ImageOnlyFailure ] # Requires fallback (at parse time) support
-webkit.org/b/220928 imported/w3c/web-platform-tests/css/css-color/predefined-015.html [ ImageOnlyFailure ] # Requires fallback (at parse time) support (unclear if this makes sense)
-
</del><span class="cx"> # CSS containment tests that fail
</span><span class="cx"> imported/w3c/web-platform-tests/css/css-contain/contain-animation-001.html [ ImageOnlyFailure ]
</span><span class="cx"> # webkit-ruby-text
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cChangeLog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/ChangeLog (277076 => 277077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/ChangeLog 2021-05-06 09:17:02 UTC (rev 277076)
+++ trunk/LayoutTests/imported/w3c/ChangeLog    2021-05-06 09:44:37 UTC (rev 277077)
</span><span class="lines">@@ -1,5 +1,30 @@
</span><span class="cx"> 2021-05-06  Tim Nguyen  <ntim@apple.com>
</span><span class="cx"> 
</span><ins>+        Re-import css/css-color & css/css-color-adjust WPT
+        https://bugs.webkit.org/show_bug.cgi?id=225438
+
+        Reviewed by Youenn Fablet.
+
+        * resources/resource-files.json:
+        * web-platform-tests/css/css-color-adjust/META.yml: Added.
+        * web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-iframe-background-mismatch-opaque-cross-origin.sub-expected.html: Added.
+        * web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-iframe-background-mismatch-opaque-cross-origin.sub.html: Added.
+        * web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-system-colors-expected.txt: Added.
+        * web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-system-colors.html: Added.
+        * web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/w3c-import.log:
+        * web-platform-tests/css/css-color-adjust/w3c-import.log:
+        * web-platform-tests/css/css-color/color-function-parsing.html:
+        * web-platform-tests/css/css-color/color-function-parsing-expected.txt:
+        * web-platform-tests/css/css-color/color-mix-basic-001.tentative-expected.txt: Added.
+        * web-platform-tests/css/css-color/color-mix-basic-001.tentative.html: Added.
+        * web-platform-tests/css/css-color/predefined-014-expected.html: Removed.
+        * web-platform-tests/css/css-color/predefined-014.html: Removed.
+        * web-platform-tests/css/css-color/predefined-015-expected.html: Removed.
+        * web-platform-tests/css/css-color/predefined-015.html: Removed.
+        * web-platform-tests/css/css-color/w3c-import.log:
+
+2021-05-06  Tim Nguyen  <ntim@apple.com>
+
</ins><span class="cx">         Re-import css/css-cascade WPT
</span><span class="cx">         https://bugs.webkit.org/show_bug.cgi?id=225437
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cresourcesresourcefilesjson"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/resources/resource-files.json (277076 => 277077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/resources/resource-files.json     2021-05-06 09:17:02 UTC (rev 277076)
+++ trunk/LayoutTests/imported/w3c/resources/resource-files.json        2021-05-06 09:44:37 UTC (rev 277077)
</span><span class="lines">@@ -294,6 +294,9 @@
</span><span class="cx">         "web-platform-tests/css/css-backgrounds/ttwf-css3background-border-style-shorthand.htm",
</span><span class="cx">         "web-platform-tests/css/css-backgrounds/ttwf-css3background-border-style-values.htm",
</span><span class="cx">         "web-platform-tests/css/css-backgrounds/ttwf-css3background-border-style.htm",
</span><ins>+        "web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-change-checkbox-notref.html",
+        "web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/support/dark-frame-alpha.html",
+        "web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/support/dark-frame-opaque.html",
</ins><span class="cx">         "web-platform-tests/css/css-color/t32-opacity-basic-0.6-a.xht",
</span><span class="cx">         "web-platform-tests/css/css-color/t32-opacity-zorder-c.xht",
</span><span class="cx">         "web-platform-tests/css/css-color/t421-rgb-hex3-expand-b.xht",
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestscsscsscolorcolorfunctionparsingexpectedtxt"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/color-function-parsing-expected.txt (277076 => 277077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/color-function-parsing-expected.txt      2021-05-06 09:17:02 UTC (rev 277076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/color-function-parsing-expected.txt 2021-05-06 09:44:37 UTC (rev 277077)
</span><span class="lines">@@ -13,7 +13,6 @@
</span><span class="cx"> PASS All components missing
</span><span class="cx"> PASS Display P3 color
</span><span class="cx"> PASS Different case for Display P3
</span><del>-FAIL Unknown color space should fallback assert_equals: expected "color(unknown 1 2 3, red)" but got "rgb(0, 0, 0)"
</del><span class="cx"> PASS sRGB color with negative component should clamp to 0
</span><span class="cx"> PASS sRGB color with component > 1 should clamp
</span><span class="cx"> PASS Display P3 color with negative component should clamp to 0
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestscsscsscolorcolorfunctionparsinghtml"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/color-function-parsing.html (277076 => 277077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/color-function-parsing.html      2021-05-06 09:17:02 UTC (rev 277076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/color-function-parsing.html 2021-05-06 09:44:37 UTC (rev 277077)
</span><span class="lines">@@ -31,8 +31,6 @@
</span><span class="cx">     testColorFunction("Display P3 color", "color(display-p3 0.6 0.7 0.8)", "color(display-p3 0.6 0.7 0.8)");
</span><span class="cx">     testColorFunction("Different case for Display P3", "color(dIspLaY-P3 0.6 0.7 0.8)", "color(display-p3 0.6 0.7 0.8)");
</span><span class="cx"> 
</span><del>-    testColorFunction("Unknown color space should fallback", "color(unknown 1 2 3, red)", "color(unknown 1 2 3, red)");
-
</del><span class="cx">     testColorFunction("sRGB color with negative component should clamp to 0", "color(srgb -0.25 0.5 0.75)", "color(srgb 0 0.5 0.75)");
</span><span class="cx">     testColorFunction("sRGB color with component > 1 should clamp", "color(srgb 0.25 1.5 0.75)", "color(srgb 0.25 1 0.75)");
</span><span class="cx">     testColorFunction("Display P3 color with negative component should clamp to 0", "color(display-p3 0.5 -199 0.75)", "color(display-p3 0.5 0 0.75)");
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestscsscsscolorcolormixbasic001tentativeexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/color-mix-basic-001.tentative-expected.txt (0 => 277077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/color-mix-basic-001.tentative-expected.txt                               (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/color-mix-basic-001.tentative-expected.txt  2021-05-06 09:44:37 UTC (rev 277077)
</span><span class="lines">@@ -0,0 +1,9 @@
</span><ins>+
+FAIL From blue to red at 0.5 assert_equals: Colors should match for color-mix(in srgb, blue, red  50%) expected "rgb(128, 0, 128)" but got "color(srgb 0.5 0 0.5)"
+FAIL From blue to green at 0.5 assert_equals: Colors should match for color-mix(in srgb, blue, green  50%) expected "rgb(0, 64, 128)" but got "color(srgb 0 0.2509804 0.5)"
+FAIL From rgb(255, 0, 0, .2) to red at 0.5 assert_equals: Colors should match for color-mix(in srgb, rgb(255, 0, 0, .2), red  50%) expected "rgba(255, 0, 0, 0.6)" but got "color(srgb 1 0 0 / 0.6)"
+FAIL From blue to red at 0.9 assert_equals: Colors should match for color-mix(in srgb, blue, red  90%) expected "rgb(230, 0, 26)" but got "color(srgb 0.9 0 0.1)"
+FAIL From blue to red at 0 assert_equals: Colors should match for color-mix(in srgb, blue, red  0%) expected "rgb(0, 0, 255)" but got "color(srgb 0 0 1)"
+FAIL From currentColor to white at 0.5 assert_not_equals: Should parse color-mix(in srgb, currentColor, white  50%) got disallowed value ""
+FAIL From currentColor to rgba(0, 0, 0, .5) at 0.5 assert_not_equals: Should parse color-mix(in srgb, currentColor, rgba(0, 0, 0, .5)  50%) got disallowed value ""
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestscsscsscolorcolormixbasic001tentativehtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/color-mix-basic-001.tentative.html (0 => 277077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/color-mix-basic-001.tentative.html                               (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/color-mix-basic-001.tentative.html  2021-05-06 09:44:37 UTC (rev 277077)
</span><span class="lines">@@ -0,0 +1,67 @@
</span><ins>+<!doctype html>
+<!-- Tentative pending potential syntax changes in https://github.com/w3c/csswg-drafts/issues/6066 -->
+<link rel="help" href="https://drafts.csswg.org/css-color-5/#color-mix">
+<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1695376">
+<link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Ãlvarez">
+<link rel="author" href="https://mozilla.org" title="Mozilla">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<style>
+div { color: black }
+</style>
+<div id="test"></div>
+<div id="ref"></div>
+<script>
+const TEST_CASES = [
+  ["blue", "red"],
+  ["blue", "green"],
+  ["rgb(255, 0, 0, .2)", "red"],
+  ["blue", "red", 0.9],
+  ["blue", "red", 0],
+  ["currentColor", "white"],
+  ["currentColor", "rgba(0, 0, 0, .5)"],
+];
+
+const testElement = document.getElementById("test");
+const refElement = document.getElementById("ref");
+const testStyle = getComputedStyle(testElement);
+const refStyle = getComputedStyle(refElement);
+
+let animation = null;
+
+for (let [from, to, animationProgress] of TEST_CASES) {
+  const animationProgressExplicit = animationProgress !== undefined;
+  animationProgress = animationProgressExplicit ? animationProgress : 0.5;
+  test(function() {
+    // Set up the ref.
+    if (animation) {
+      animation.cancel();
+    }
+    animation = refElement.animate({
+      backgroundColor: [from, to],
+    }, { duration: 1000 });
+    animation.pause();
+    animation.currentTime = 1000 * animationProgress;
+
+    let progress = ` ${animationProgress * 100}%`;
+    let oneMinusProgress = ` ${(1 - animationProgress) * 100}%`;
+    let values = [
+      `color-mix(in srgb, ${from}, ${to} ${progress})`,
+      `color-mix(in srgb, ${from} ${oneMinusProgress}, ${to})`,
+      `color-mix(in srgb, ${from} ${oneMinusProgress}, ${to} ${progress})`,
+    ];
+
+    if (animationProgress == 0.5) {
+      values.push(`color-mix(in srgb, ${from}, ${to})`);
+    }
+
+    for (let value of values) {
+      testElement.style.backgroundColor = "";
+      testElement.style.backgroundColor = value;
+
+      assert_not_equals(testElement.style.backgroundColor, "", "Should parse " + value);
+      assert_equals(testStyle.backgroundColor, refStyle.backgroundColor, "Colors should match for " + value);
+    }
+  }, `From ${from} to ${to} at ${animationProgress}`);
+}
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestscsscsscolorpredefined014expectedhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-014-expected.html (277076 => 277077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-014-expected.html     2021-05-06 09:17:02 UTC (rev 277076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-014-expected.html        2021-05-06 09:44:37 UTC (rev 277077)
</span><span class="lines">@@ -1,10 +0,0 @@
</span><del>-<!DOCTYPE html>
-<meta charset="utf-8">
-<title>Green square #009900 reference</title>
-<style>
-    .test { background-color: #009900; width: 12em; height: 12em;}
-</style>
-<body>
-    <p>Test passes if you see a green square, and no red.</p>
-    <div class="test"></div>
-</body>
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestscsscsscolorpredefined014html"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-014.html (277076 => 277077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-014.html      2021-05-06 09:17:02 UTC (rev 277076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-014.html 2021-05-06 09:44:37 UTC (rev 277077)
</span><span class="lines">@@ -1,17 +0,0 @@
</span><del>-<!DOCTYPE html>
-<meta charset="utf-8">
-<title>CSS Color 4: predefined colorspaces, fallback</title>
-<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
-<link rel="help" href="https://drafts.csswg.org/css-color-4/#predefined">
-<link rel="match" href="greensquare-090-ref.html">
-<meta name="assert" content="Color function with invalid colorspace, fallback matches sRGB #009900">
-<style>
-    .test { background-color: red; width: 12em; height: 6em; margin-top:0}
-    .ref { background-color: #009900; width: 12em; height: 6em; margin-bottom: 0}
-    .test {background-color: color(banana 0.1 0.2 0.3, #009900)}
-</style>
-<body>
-    <p>Test passes if you see a green square, and no red.</p>
-    <p class="ref"> </p>
-    <p class="test"> </p>
-</body>
</del><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestscsscsscolorpredefined015expectedhtml"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-015-expected.html (277076 => 277077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-015-expected.html     2021-05-06 09:17:02 UTC (rev 277076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-015-expected.html        2021-05-06 09:44:37 UTC (rev 277077)
</span><span class="lines">@@ -1,10 +0,0 @@
</span><del>-<!DOCTYPE html>
-<meta charset="utf-8">
-<title>Green square #009900 reference</title>
-<style>
-    .test { background-color: #009900; width: 12em; height: 12em;}
-</style>
-<body>
-    <p>Test passes if you see a green square, and no red.</p>
-    <div class="test"></div>
-</body>
</del></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestscsscsscolorpredefined015html"></a>
<div class="delfile"><h4>Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-015.html (277076 => 277077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-015.html      2021-05-06 09:17:02 UTC (rev 277076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-015.html 2021-05-06 09:44:37 UTC (rev 277077)
</span><span class="lines">@@ -1,17 +0,0 @@
</span><del>-<!DOCTYPE html>
-<meta charset="utf-8">
-<title>CSS Color 4: predefined colorspaces, fallback</title>
-<link rel="author" title="Chris Lilley" href="mailto:chris@w3.org">
-<link rel="help" href="https://drafts.csswg.org/css-color-4/#predefined">
-<link rel="match" href="greensquare-090-ref.html">
-<meta name="assert" content="Color function with colorspace which matches sRGB #009900, red fallback">
-<style>
-    .test { background-color: red; width: 12em; height: 6em; margin-top:0}
-    .ref { background-color: #009900; width: 12em; height: 6em; margin-bottom: 0}
-    .test {background-color: color(display-p3 0.26374 0.59085 0.16434, red)}
-</style>
-<body>
-    <p>Test passes if you see a green square, and no red.</p>
-    <p class="ref"> </p>
-    <p class="test"> </p>
-</body>
</del><span class="cx">\ No newline at end of file
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestscsscsscolorw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/w3c-import.log (277076 => 277077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/w3c-import.log   2021-05-06 09:17:02 UTC (rev 277076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color/w3c-import.log      2021-05-06 09:44:37 UTC (rev 277077)
</span><span class="lines">@@ -175,10 +175,6 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-012.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-013-expected.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-013.html
</span><del>-/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-014-expected.html
-/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-014.html
-/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-015-expected.html
-/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-015.html
</del><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-016-expected.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-016.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/css/css-color/prophoto-rgb-001-expected.html
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestscsscsscoloradjustMETAyml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/META.yml (0 => 277077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/META.yml                          (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/META.yml     2021-05-06 09:44:37 UTC (rev 277077)
</span><span class="lines">@@ -0,0 +1 @@
</span><ins>+spec: https://drafts.csswg.org/css-color-adjust/
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestscsscsscoloradjustrenderingdarkcolorschemecolorschemeiframebackgroundmismatchopaquecrossoriginsubexpectedhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-iframe-background-mismatch-opaque-cross-origin.sub-expected.html (0 => 277077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-iframe-background-mismatch-opaque-cross-origin.sub-expected.html                         (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-iframe-background-mismatch-opaque-cross-origin.sub-expected.html    2021-05-06 09:44:37 UTC (rev 277077)
</span><span class="lines">@@ -0,0 +1,6 @@
</span><ins>+<!doctype html>
+<style>
+  :root { color-scheme: dark }
+  p { color: green }
+</style>
+<p>This text should be green and the background should be dark opaque.</p>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestscsscsscoloradjustrenderingdarkcolorschemecolorschemeiframebackgroundmismatchopaquecrossoriginsubhtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-iframe-background-mismatch-opaque-cross-origin.sub.html (0 => 277077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-iframe-background-mismatch-opaque-cross-origin.sub.html                          (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-iframe-background-mismatch-opaque-cross-origin.sub.html     2021-05-06 09:44:37 UTC (rev 277077)
</span><span class="lines">@@ -0,0 +1,19 @@
</span><ins>+<!doctype html>
+<title>CSS Color Adjustment Test: Frames with a dark color-scheme should get an opaque background when embedding element and embedded root color-schemes do not match (cross origin)</title>
+<link rel="help" href="https://drafts.csswg.org/css-color-adjust/#color-scheme-effect">
+<link rel="match" href="support/dark-frame-opaque.html">
+<style>
+  html, body {
+    margin: 0;
+    height: 100%;
+  }
+  iframe {
+    margin: 0;
+    border: 0;
+    padding: 0;
+    width: 100%;
+    height: 100%;
+    display: block;
+  }
+</style>
+<iframe src="http://{{hosts[alt][]}}:{{ports[http][0]}}/css/css-color-adjust/rendering/dark-color-scheme/support/dark-frame-opaque.html"></iframe>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestscsscsscoloradjustrenderingdarkcolorschemecolorschemesystemcolorsexpectedtxt"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-system-colors-expected.txt (0 => 277077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-system-colors-expected.txt                               (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-system-colors-expected.txt  2021-05-06 09:44:37 UTC (rev 277077)
</span><span class="lines">@@ -0,0 +1,3 @@
</span><ins>+
+PASS Check that the system colors are properly affected by the color-scheme.
+
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestscsscsscoloradjustrenderingdarkcolorschemecolorschemesystemcolorshtml"></a>
<div class="addfile"><h4>Added: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-system-colors.html (0 => 277077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-system-colors.html                               (rev 0)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-system-colors.html  2021-05-06 09:44:37 UTC (rev 277077)
</span><span class="lines">@@ -0,0 +1,18 @@
</span><ins>+<!DOCTYPE html>
+<meta charset="utf-8">
+<link rel="help" href="https://www.w3.org/TR/css-color-adjust-1/#color-scheme-prop">
+<script src="/resources/testharness.js"></script>
+<script src="/resources/testharnessreport.js"></script>
+<style>
+  #dark { color-scheme: dark }
+  #light { color-scheme: light }
+  .canvas { color: CanvasText; background-color: Canvas; }
+</style>
+<div id="dark" class="canvas"></div>
+<div id="light" class="canvas"></div>
+<script>
+  test(() => {
+    assert_not_equals(getComputedStyle(light).color, getComputedStyle(dark).color);
+    assert_not_equals(getComputedStyle(light).backgroundColor, getComputedStyle(dark).backgroundColor);
+  }, "Check that the system colors are properly affected by the color-scheme.");
+</script>
</ins></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestscsscsscoloradjustrenderingdarkcolorschemew3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/w3c-import.log (277076 => 277077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/w3c-import.log        2021-05-06 09:17:02 UTC (rev 277076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/w3c-import.log   2021-05-06 09:44:37 UTC (rev 277077)
</span><span class="lines">@@ -21,10 +21,13 @@
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-iframe-background-expected.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-iframe-background-mismatch-alpha-expected.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-iframe-background-mismatch-alpha.html
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-iframe-background-mismatch-opaque-cross-origin.sub-expected.html
+/LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-iframe-background-mismatch-opaque-cross-origin.sub.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-iframe-background-mismatch-opaque-expected.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-iframe-background-mismatch-opaque.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-iframe-background.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-root-background.html
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-system-colors.html
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-visited-link-initial-expected.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/color-scheme-visited-link-initial.html
</span><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/rendering/dark-color-scheme/svg-as-image.html
</span></span></pre></div>
<a id="trunkLayoutTestsimportedw3cwebplatformtestscsscsscoloradjustw3cimportlog"></a>
<div class="modfile"><h4>Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/w3c-import.log (277076 => 277077)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/w3c-import.log    2021-05-06 09:17:02 UTC (rev 277076)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/w3c-import.log       2021-05-06 09:44:37 UTC (rev 277077)
</span><span class="lines">@@ -14,4 +14,5 @@
</span><span class="cx"> None
</span><span class="cx"> ------------------------------------------------------------------------
</span><span class="cx"> List of files:
</span><ins>+/LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/META.yml
</ins><span class="cx"> /LayoutTests/imported/w3c/web-platform-tests/css/css-color-adjust/inheritance.html
</span></span></pre>
</div>
</div>

</body>
</html>