WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
[patch]
Patch
bug-220247-20210125090517.patch (text/plain), 67.99 KB, created by
Sam Weinig
on 2021-01-25 09:05:18 PST
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Sam Weinig
Created:
2021-01-25 09:05:18 PST
Size:
67.99 KB
patch
obsolete
>Index: LayoutTests/ChangeLog >=================================================================== >--- LayoutTests/ChangeLog (revision 271796) >+++ LayoutTests/ChangeLog (working copy) >@@ -1,3 +1,15 @@ >+2021-01-25 Sam Weinig <weinig@apple.com> >+ >+ Import css/css-color tests from WPT >+ https://bugs.webkit.org/show_bug.cgi?id=220247 >+ <rdar://problem/73002231> >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ * TestExpectations: >+ Add failing expectations for newly imported reftests that fail. Fixing them is >+ tracked in https://bugs.webkit.org/show_bug.cgi?id=220928. >+ > 2021-01-25 Andres Gonzalez <andresg_22@apple.com> > > AX: @alt and bounds ignored when using img[src] points to an inaccessible SVG >Index: LayoutTests/TestExpectations >=================================================================== >--- LayoutTests/TestExpectations (revision 271796) >+++ LayoutTests/TestExpectations (working copy) >@@ -4574,3 +4574,19 @@ webkit.org/b/217931 imported/w3c/web-pla > webkit.org/b/217931 imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/moving-between-documents/move-back-iframe-success-inline-classic.html [ Pass Failure ] > > webkit.org/b/220325 http/wpt/css/css-highlight-api/highlight-text-cascade.html [ ImageOnlyFailure ] >+ >+# Unsupported css color() variants >+webkit.org/b/220928 imported/w3c/web-platform-tests/css/css-color/predefined-002.html [ Failure ] >+webkit.org/b/220928 imported/w3c/web-platform-tests/css/css-color/predefined-003.html [ Failure ] >+webkit.org/b/220928 imported/w3c/web-platform-tests/css/css-color/predefined-004.html [ Failure ] >+webkit.org/b/220928 imported/w3c/web-platform-tests/css/css-color/predefined-006.html [ Failure ] >+webkit.org/b/220928 imported/w3c/web-platform-tests/css/css-color/predefined-007.html [ Failure ] >+webkit.org/b/220928 imported/w3c/web-platform-tests/css/css-color/predefined-008.html [ Failure ] >+webkit.org/b/220928 imported/w3c/web-platform-tests/css/css-color/predefined-009.html [ Failure ] >+webkit.org/b/220928 imported/w3c/web-platform-tests/css/css-color/predefined-010.html [ Failure ] >+webkit.org/b/220928 imported/w3c/web-platform-tests/css/css-color/predefined-011.html [ Failure ] >+webkit.org/b/220928 imported/w3c/web-platform-tests/css/css-color/predefined-012.html [ Failure ] >+webkit.org/b/220928 imported/w3c/web-platform-tests/css/css-color/predefined-014.html [ Failure ] >+webkit.org/b/220928 imported/w3c/web-platform-tests/css/css-color/predefined-015.html [ Failure ] >+webkit.org/b/220928 imported/w3c/web-platform-tests/css/css-color/predefined-016.html [ Failure ] >+webkit.org/b/220928 imported/w3c/web-platform-tests/css/css-color/predefined-017.html [ Failure ] >Index: LayoutTests/imported/w3c/ChangeLog >=================================================================== >--- LayoutTests/imported/w3c/ChangeLog (revision 271796) >+++ LayoutTests/imported/w3c/ChangeLog (working copy) >@@ -1,3 +1,66 @@ >+2021-01-24 Sam Weinig <weinig@apple.com> >+ >+ Import css/css-color tests from WPT >+ https://bugs.webkit.org/show_bug.cgi?id=220247 >+ <rdar://problem/73002231> >+ >+ Reviewed by NOBODY (OOPS!). >+ >+ Update WPT css/css-color tests. >+ >+ * web-platform-tests/css/css-color/lab-002-expected.html: >+ * web-platform-tests/css/css-color/lab-003-expected.html: >+ * web-platform-tests/css/css-color/lch-001-expected.html: >+ * web-platform-tests/css/css-color/lch-002-expected.html: >+ * web-platform-tests/css/css-color/lch-003-expected.html: >+ * web-platform-tests/css/css-color/predefined-001-expected.html: Added. >+ * web-platform-tests/css/css-color/predefined-001.html: Added. >+ * web-platform-tests/css/css-color/predefined-002-expected.html: Added. >+ * web-platform-tests/css/css-color/predefined-002.html: Added. >+ * web-platform-tests/css/css-color/predefined-003-expected.html: Added. >+ * web-platform-tests/css/css-color/predefined-003.html: Added. >+ * web-platform-tests/css/css-color/predefined-004-expected.html: Added. >+ * web-platform-tests/css/css-color/predefined-004.html: Added. >+ * web-platform-tests/css/css-color/predefined-005-expected.html: Added. >+ * web-platform-tests/css/css-color/predefined-005.html: Added. >+ * web-platform-tests/css/css-color/predefined-006-expected.html: Added. >+ * web-platform-tests/css/css-color/predefined-006.html: Added. >+ * web-platform-tests/css/css-color/predefined-007-expected.html: Added. >+ * web-platform-tests/css/css-color/predefined-007.html: Added. >+ * web-platform-tests/css/css-color/predefined-008-expected.html: Added. >+ * web-platform-tests/css/css-color/predefined-008.html: Added. >+ * web-platform-tests/css/css-color/predefined-009-expected.html: Added. >+ * web-platform-tests/css/css-color/predefined-009.html: Added. >+ * web-platform-tests/css/css-color/predefined-010-expected.html: Added. >+ * web-platform-tests/css/css-color/predefined-010.html: Added. >+ * web-platform-tests/css/css-color/predefined-011-expected.html: Added. >+ * web-platform-tests/css/css-color/predefined-011.html: Added. >+ * web-platform-tests/css/css-color/predefined-012-expected.html: Added. >+ * web-platform-tests/css/css-color/predefined-012.html: Added. >+ * web-platform-tests/css/css-color/predefined-013-expected.html: Added. >+ * web-platform-tests/css/css-color/predefined-013.html: Added. >+ * web-platform-tests/css/css-color/predefined-014-expected.html: Added. >+ * web-platform-tests/css/css-color/predefined-014.html: Added. >+ * web-platform-tests/css/css-color/predefined-015-expected.html: Added. >+ * web-platform-tests/css/css-color/predefined-015.html: Added. >+ * web-platform-tests/css/css-color/predefined-016-expected.html: Added. >+ * web-platform-tests/css/css-color/predefined-016.html: Added. >+ * web-platform-tests/css/css-color/predefined-017-expected.html: Added. >+ * web-platform-tests/css/css-color/predefined-017.html: Added. >+ * web-platform-tests/css/css-color/system-color-compute-expected.txt: Added. >+ * web-platform-tests/css/css-color/system-color-compute.html: Added. >+ * web-platform-tests/css/css-color/t32-opacity-basic-0.6-a-expected.html: Added. >+ * web-platform-tests/css/css-color/t32-opacity-basic-0.6-a.xht: >+ * web-platform-tests/css/css-color/t32-opacity-zorder-c-expected.html: Added. >+ * web-platform-tests/css/css-color/t32-opacity-zorder-c.xht: >+ * web-platform-tests/css/css-color/t421-rgb-hex3-expand-b-expected.html: Added. >+ * web-platform-tests/css/css-color/t421-rgb-hex3-expand-b.xht: >+ * web-platform-tests/css/css-color/t422-rgba-a0.6-a-expected.html: Added. >+ * web-platform-tests/css/css-color/t422-rgba-a0.6-a.xht: >+ * web-platform-tests/css/css-color/t425-hsla-basic-a-expected.html: Added. >+ * web-platform-tests/css/css-color/t425-hsla-basic-a.xht: >+ * web-platform-tests/css/css-color/w3c-import.log: >+ > 2021-01-22 Yusuke Suzuki <ysuzuki@apple.com> > > Should SharedArrayBuffer/WebAssembly.Memory really throw? >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/lab-002-expected.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/lab-002-expected.html (revision 271796) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/lab-002-expected.html (working copy) >@@ -1,10 +1,10 @@ > <!DOCTYPE html> > <meta charset="utf-8"> >-<title>Black block reference</title> >+<title>Black square reference</title> > <style> >- .test { background-color: #000000; width: 12em; height: 12em;} >+ .test { background-color: #000000; width: 12em; height: 12em; } > </style> > <body> > <p>Test passes if you see a black square, and no red.</p> >- <p class="test"> </p> >+ <div class="test"></div> > </body> >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/lab-003-expected.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/lab-003-expected.html (revision 271796) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/lab-003-expected.html (working copy) >@@ -1,11 +1,11 @@ > <!DOCTYPE html> > <meta charset="utf-8"> >-<title>White block reference</title> >+<title>White square reference</title> > <style> > body { background-color: grey; } >- .test { background-color: #FFFFFF; width: 12em; height: 12em;} >+ .test { background-color: #FFFFFF; width: 12em; height: 12em; } > </style> > <body> > <p>Test passes if you see a white square, and no red.</p> >- <p class="test"> </p> >+ <div class="test"></div> > </body> >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/lch-001-expected.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/lch-001-expected.html (revision 271796) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/lch-001-expected.html (working copy) >@@ -1,9 +1,8 @@ > <!DOCTYPE html> > <meta charset="utf-8"> >-<title>Green block reference</title> >+<title>Green square reference</title> > <style> > .test { background-color: #008000; width: 12em; height: 12em;} >- .test { color: #008000} > </style> > <body> > <p>Test passes if you see a green square, and no red.</p> >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/lch-002-expected.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/lch-002-expected.html (revision 271796) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/lch-002-expected.html (working copy) >@@ -1,10 +1,10 @@ > <!DOCTYPE html> > <meta charset="utf-8"> >-<title>Black block reference</title> >+<title>Black square reference</title> > <style> >- .test { background-color: #000000; width: 12em; height: 12em;} >+ .test { background-color: #000000; width: 12em; height: 12em; } > </style> > <body> > <p>Test passes if you see a black square, and no red.</p> >- <p class="test"> </p> >+ <div class="test"></div> > </body> >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/lch-003-expected.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/lch-003-expected.html (revision 271796) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/lch-003-expected.html (working copy) >@@ -1,11 +1,11 @@ > <!DOCTYPE html> > <meta charset="utf-8"> >-<title>White block reference</title> >+<title>White square reference</title> > <style> > body { background-color: grey; } >- .test { background-color: #FFFFFF; width: 12em; height: 12em;} >+ .test { background-color: #FFFFFF; width: 12em; height: 12em; } > </style> > <body> > <p>Test passes if you see a white square, and no red.</p> >- <p class="test"> </p> >+ <div class="test"></div> > </body> >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-001-expected.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-001-expected.html (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-001-expected.html (working copy) >@@ -0,0 +1,10 @@ >+<!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> >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-001.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-001.html (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-001.html (working copy) >@@ -0,0 +1,17 @@ >+<!DOCTYPE html> >+<meta charset="utf-8"> >+<title>CSS Color 4: predefined colorspaces, srgb, decimal values</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 explicit srgb value as decimal 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(srgb 0 0.6 0)} >+</style> >+<body> >+ <p>Test passes if you see a green square, and no red.</p> >+ <p class="ref"> </p> >+ <p class="test"> </p> >+</body> >\ No newline at end of file >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-002-expected.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-002-expected.html (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-002-expected.html (working copy) >@@ -0,0 +1,10 @@ >+<!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> >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-002.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-002.html (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-002.html (working copy) >@@ -0,0 +1,17 @@ >+<!DOCTYPE html> >+<meta charset="utf-8"> >+<title>CSS Color 4: predefined colorspaces, srgb, percent values</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 explicit srgb value as percent 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(srgb 0% 60% 0%)} >+</style> >+<body> >+ <p>Test passes if you see a green square, and no red.</p> >+ <p class="ref"> </p> >+ <p class="test"> </p> >+</body> >\ No newline at end of file >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-003-expected.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-003-expected.html (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-003-expected.html (working copy) >@@ -0,0 +1,10 @@ >+<!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> >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-003.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-003.html (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-003.html (working copy) >@@ -0,0 +1,17 @@ >+<!DOCTYPE html> >+<meta charset="utf-8"> >+<title>CSS Color 4: predefined colorspaces, default srgb, decimal values</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 default srgb value as decimal 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(0 0.6 0)} >+</style> >+<body> >+ <p>Test passes if you see a green square, and no red.</p> >+ <p class="ref"> </p> >+ <p class="test"> </p> >+</body> >\ No newline at end of file >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-004-expected.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-004-expected.html (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-004-expected.html (working copy) >@@ -0,0 +1,10 @@ >+<!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> >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-004.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-004.html (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-004.html (working copy) >@@ -0,0 +1,17 @@ >+<!DOCTYPE html> >+<meta charset="utf-8"> >+<title>CSS Color 4: predefined colorspaces, default srgb, percent values</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 default srgb value as percent 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(0% 60% 0%)} >+</style> >+<body> >+ <p>Test passes if you see a green square, and no red.</p> >+ <p class="ref"> </p> >+ <p class="test"> </p> >+</body> >\ No newline at end of file >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-005-expected.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-005-expected.html (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-005-expected.html (working copy) >@@ -0,0 +1,10 @@ >+<!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> >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-005.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-005.html (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-005.html (working copy) >@@ -0,0 +1,17 @@ >+<!DOCTYPE html> >+<meta charset="utf-8"> >+<title>CSS Color 4: predefined colorspaces, display-p3, decimal values</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 explicit display-p3 value as decimal 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(display-p3 0.26374 0.59085 0.16434)} >+</style> >+<body> >+ <p>Test passes if you see a green square, and no red.</p> >+ <p class="ref"> </p> >+ <p class="test"> </p> >+</body> >\ No newline at end of file >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-006-expected.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-006-expected.html (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-006-expected.html (working copy) >@@ -0,0 +1,10 @@ >+<!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> >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-006.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-006.html (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-006.html (working copy) >@@ -0,0 +1,17 @@ >+<!DOCTYPE html> >+<meta charset="utf-8"> >+<title>CSS Color 4: predefined colorspaces, display-p3, percent values</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 explicit display-p3 value as percent 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(display-p3 26.374% 59.085% 16.434%)} >+</style> >+<body> >+ <p>Test passes if you see a green square, and no red.</p> >+ <p class="ref"> </p> >+ <p class="test"> </p> >+</body> >\ No newline at end of file >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-007-expected.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-007-expected.html (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-007-expected.html (working copy) >@@ -0,0 +1,10 @@ >+<!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> >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-007.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-007.html (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-007.html (working copy) >@@ -0,0 +1,17 @@ >+<!DOCTYPE html> >+<meta charset="utf-8"> >+<title>CSS Color 4: predefined colorspaces, a98-rgb, decimal values</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 explicit a98-rgb value as decimal 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(a98-rgb 0.33582 0.59441 0.13934)} >+</style> >+<body> >+ <p>Test passes if you see a green square, and no red.</p> >+ <p class="ref"> </p> >+ <p class="test"> </p> >+</body> >\ No newline at end of file >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-008-expected.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-008-expected.html (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-008-expected.html (working copy) >@@ -0,0 +1,10 @@ >+<!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> >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-008.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-008.html (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-008.html (working copy) >@@ -0,0 +1,17 @@ >+<!DOCTYPE html> >+<meta charset="utf-8"> >+<title>CSS Color 4: predefined colorspaces, a98-rgb, percent values</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 explicit a98-rgb value as percent 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(a98-rgb 33.582% 59.441% 13.934%)} >+</style> >+<body> >+ <p>Test passes if you see a green square, and no red.</p> >+ <p class="ref"> </p> >+ <p class="test"> </p> >+</body> >\ No newline at end of file >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-009-expected.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-009-expected.html (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-009-expected.html (working copy) >@@ -0,0 +1,10 @@ >+<!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> >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-009.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-009.html (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-009.html (working copy) >@@ -0,0 +1,17 @@ >+<!DOCTYPE html> >+<meta charset="utf-8"> >+<title>CSS Color 4: predefined colorspaces, prophoto-rgb, decimal values</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 explicit prophoto-rgb value as decimal matches sRGB #009900. Note that prophoto-rgb uses a D50 white so the chromatic adaptation step from Lab must be skipped."> >+<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(prophoto-rgb 0.2861 0.49131 0.16133)} >+</style> >+<body> >+ <p>Test passes if you see a green square, and no red.</p> >+ <p class="ref"> </p> >+ <p class="test"> </p> >+</body> >\ No newline at end of file >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-010-expected.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-010-expected.html (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-010-expected.html (working copy) >@@ -0,0 +1,10 @@ >+<!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> >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-010.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-010.html (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-010.html (working copy) >@@ -0,0 +1,17 @@ >+<!DOCTYPE html> >+<meta charset="utf-8"> >+<title>CSS Color 4: predefined colorspaces, prophoto-rgb, percent values</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 explicit prophoto-rgb value as percent matches sRGB #009900. Note that prophoto-rgb uses a D50 white so the chromatic adaptation step from Lab must be skipped."> >+<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(prophoto-rgb 28.610% 49.131% 16.133%)} >+</style> >+<body> >+ <p>Test passes if you see a green square, and no red.</p> >+ <p class="ref"> </p> >+ <p class="test"> </p> >+</body> >\ No newline at end of file >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-011-expected.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-011-expected.html (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-011-expected.html (working copy) >@@ -0,0 +1,10 @@ >+<!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> >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-011.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-011.html (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-011.html (working copy) >@@ -0,0 +1,17 @@ >+<!DOCTYPE html> >+<meta charset="utf-8"> >+<title>CSS Color 4: predefined colorspaces, rec2020, decimal values</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 explicit rec2020 value as decimal 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(rec2020 0.33033 0.55976 0.14863)} >+</style> >+<body> >+ <p>Test passes if you see a green square, and no red.</p> >+ <p class="ref"> </p> >+ <p class="test"> </p> >+</body> >\ No newline at end of file >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-012-expected.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-012-expected.html (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-012-expected.html (working copy) >@@ -0,0 +1,10 @@ >+<!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> >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-012.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-012.html (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-012.html (working copy) >@@ -0,0 +1,17 @@ >+<!DOCTYPE html> >+<meta charset="utf-8"> >+<title>CSS Color 4: predefined colorspaces, rec2020, percent values</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 explicit rec2020 value as percent 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(rec2020 33.033% 55.976% 14.863%)} >+</style> >+<body> >+ <p>Test passes if you see a green square, and no red.</p> >+ <p class="ref"> </p> >+ <p class="test"> </p> >+</body> >\ No newline at end of file >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-013-expected.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-013-expected.html (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-013-expected.html (working copy) >@@ -0,0 +1,10 @@ >+<!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> >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-013.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-013.html (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-013.html (working copy) >@@ -0,0 +1,17 @@ >+<!DOCTYPE html> >+<meta charset="utf-8"> >+<title>CSS Color 4: predefined colorspaces, lab</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 explicit lab value 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(lab 54.903% -54.15 55.313)} >+</style> >+<body> >+ <p>Test passes if you see a green square, and no red.</p> >+ <p class="ref"> </p> >+ <p class="test"> </p> >+</body> >\ No newline at end of file >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-014-expected.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-014-expected.html (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-014-expected.html (working copy) >@@ -0,0 +1,10 @@ >+<!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> >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-014.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-014.html (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-014.html (working copy) >@@ -0,0 +1,17 @@ >+<!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> >\ No newline at end of file >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-015-expected.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-015-expected.html (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-015-expected.html (working copy) >@@ -0,0 +1,10 @@ >+<!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> >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-015.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-015.html (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-015.html (working copy) >@@ -0,0 +1,17 @@ >+<!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> >\ No newline at end of file >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-016-expected.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-016-expected.html (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-016-expected.html (working copy) >@@ -0,0 +1,10 @@ >+<!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> >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-016.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-016.html (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-016.html (working copy) >@@ -0,0 +1,17 @@ >+<!DOCTYPE html> >+<meta charset="utf-8"> >+<title>CSS Color 4: predefined colorspaces, lab</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 explicit XYZ value 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(xyz 0.12266 0.22836 0.03093)} >+</style> >+<body> >+ <p>Test passes if you see a green square, and no red.</p> >+ <p class="ref"> </p> >+ <p class="test"> </p> >+</body> >\ No newline at end of file >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-017-expected.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-017-expected.html (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-017-expected.html (working copy) >@@ -0,0 +1,10 @@ >+<!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> >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-017.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-017.html (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-017.html (working copy) >@@ -0,0 +1,17 @@ >+<!DOCTYPE html> >+<meta charset="utf-8"> >+<title>CSS Color 4: predefined colorspaces, lab</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 explicit XYZ percentage value 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(xyz 12.266% 22.836% 3.093%)} >+</style> >+<body> >+ <p>Test passes if you see a green square, and no red.</p> >+ <p class="ref"> </p> >+ <p class="test"> </p> >+</body> >\ No newline at end of file >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/system-color-compute-expected.txt >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/system-color-compute-expected.txt (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/system-color-compute-expected.txt (working copy) >@@ -0,0 +1,32 @@ >+Parent >+Specified Child >+Inherit Child >+ >+FAIL color-scheme property affects Menu system color keyword assert_not_equals: got disallowed value "rgb(246, 246, 246)" >+PASS System color computes to itself on color >+FAIL Inherited system color keyword is observable on color document.getElementById("inherited").computedStyleMap is not a function. (In 'document.getElementById("inherited").computedStyleMap()', 'document.getElementById("inherited").computedStyleMap' is undefined) >+PASS System color computes to itself on background-color >+FAIL Inherited system color keyword is observable on background-color document.getElementById("inherited").computedStyleMap is not a function. (In 'document.getElementById("inherited").computedStyleMap()', 'document.getElementById("inherited").computedStyleMap' is undefined) >+PASS System color computes to itself on box-shadow >+FAIL Inherited system color keyword is observable on box-shadow document.getElementById("inherited").computedStyleMap is not a function. (In 'document.getElementById("inherited").computedStyleMap()', 'document.getElementById("inherited").computedStyleMap' is undefined) >+PASS System color computes to itself on text-shadow >+FAIL Inherited system color keyword is observable on text-shadow document.getElementById("inherited").computedStyleMap is not a function. (In 'document.getElementById("inherited").computedStyleMap()', 'document.getElementById("inherited").computedStyleMap' is undefined) >+PASS System color computes to itself on border-left-color >+FAIL Inherited system color keyword is observable on border-left-color document.getElementById("inherited").computedStyleMap is not a function. (In 'document.getElementById("inherited").computedStyleMap()', 'document.getElementById("inherited").computedStyleMap' is undefined) >+PASS System color computes to itself on border-top-color >+FAIL Inherited system color keyword is observable on border-top-color document.getElementById("inherited").computedStyleMap is not a function. (In 'document.getElementById("inherited").computedStyleMap()', 'document.getElementById("inherited").computedStyleMap' is undefined) >+PASS System color computes to itself on border-right-color >+FAIL Inherited system color keyword is observable on border-right-color document.getElementById("inherited").computedStyleMap is not a function. (In 'document.getElementById("inherited").computedStyleMap()', 'document.getElementById("inherited").computedStyleMap' is undefined) >+PASS System color computes to itself on border-bottom-color >+FAIL Inherited system color keyword is observable on border-bottom-color document.getElementById("inherited").computedStyleMap is not a function. (In 'document.getElementById("inherited").computedStyleMap()', 'document.getElementById("inherited").computedStyleMap' is undefined) >+PASS System color computes to itself on column-rule-color >+FAIL Inherited system color keyword is observable on column-rule-color document.getElementById("inherited").computedStyleMap is not a function. (In 'document.getElementById("inherited").computedStyleMap()', 'document.getElementById("inherited").computedStyleMap' is undefined) >+PASS System color computes to itself on outline-color >+FAIL Inherited system color keyword is observable on outline-color document.getElementById("inherited").computedStyleMap is not a function. (In 'document.getElementById("inherited").computedStyleMap()', 'document.getElementById("inherited").computedStyleMap' is undefined) >+PASS System color computes to itself on caret-color >+FAIL Inherited system color keyword is observable on caret-color document.getElementById("inherited").computedStyleMap is not a function. (In 'document.getElementById("inherited").computedStyleMap()', 'document.getElementById("inherited").computedStyleMap' is undefined) >+PASS System color computes to itself on fill >+FAIL Inherited system color keyword is observable on fill document.getElementById("inherited").computedStyleMap is not a function. (In 'document.getElementById("inherited").computedStyleMap()', 'document.getElementById("inherited").computedStyleMap' is undefined) >+PASS System color computes to itself on stroke >+FAIL Inherited system color keyword is observable on stroke document.getElementById("inherited").computedStyleMap is not a function. (In 'document.getElementById("inherited").computedStyleMap()', 'document.getElementById("inherited").computedStyleMap' is undefined) >+ >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/system-color-compute.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/system-color-compute.html (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/system-color-compute.html (working copy) >@@ -0,0 +1,111 @@ >+<!DOCTYPE html> >+<title>CSS Color 4: System colors should compute to themselves</title> >+<link rel="help" href="https://www.w3.org/TR/css-color-4/#resolving-color-values"> >+<meta name="assert" content="Tests if system color keywords compute to themselves"> >+<script src="/resources/testharness.js"></script> >+<script src="/resources/testharnessreport.js"></script> >+<style> >+.parent { >+ border: 1px solid black; >+ width: 100px; >+ height: 170px; >+ margin: 5px; >+ padding: 5px; >+ color-scheme: light; >+} >+ >+.child { >+ position: relative; >+ border: 1px solid black; >+ width: 80px; >+ height: 50px; >+ margin: 4px; >+ padding: 4px; >+ color-scheme: dark; >+} >+ >+.specified { >+ color: Menu; >+ background-color: Menu; >+ box-shadow: 2px 2px Menu; >+ text-shadow: 2px 2px Menu; >+ border-color: Menu; >+ column-rule-color: Menu; >+ outline-color: Menu; >+ caret-color: Menu; >+ fill: Menu; >+ stroke: Menu; >+} >+ >+.inherit { >+ color: inherit; >+ background-color: inherit; >+ box-shadow: inherit; >+ text-shadow: inherit; >+ border-color: inherit; >+ column-rule-color: inherit; >+ outline-color: inherit; >+ caret-color: inherit; >+ fill: inherit; >+ stroke: inherit; >+} >+</style> >+ >+<div id="parent" class="specified parent">Parent >+ <div id="specified" class="specified child">Specified Child</div> >+ <div id="inherited" class="inherit child">Inherit Child</div> >+</div> >+ >+<script> >+ // The premise behind this test is that if a system color keyword computes to >+ // itself, then child elements inheriting a system color value will inherit >+ // the keyword, not the color it resolves to. We can detect this by applying >+ // different color schemes to parent and child, then comparing the results we >+ // get between a child that inherited a system color versus a child that >+ // received the system color directly. >+ >+ // As a precondition check, validate that the color-scheme property results >+ // in a different resolved color. >+ test(function() { >+ let light_value = >+ getComputedStyle(document.getElementById("parent")).backgroundColor; >+ let dark_value = >+ getComputedStyle(document.getElementById("specified")).backgroundColor; >+ assert_not_equals(light_value, dark_value); >+ }, "color-scheme property affects Menu system color keyword"); >+ >+ // Test several color properties. >+ const properties_to_test = [ >+ "color", >+ "background-color", >+ "box-shadow", >+ "text-shadow", >+ "border-left-color", >+ "border-top-color", >+ "border-right-color", >+ "border-bottom-color", >+ "column-rule-color", >+ "outline-color", >+ "caret-color", >+ "fill", >+ "stroke", >+ ]; >+ >+ for (let property of properties_to_test) { >+ test(function() { >+ let specified_value = >+ getComputedStyle(document.getElementById("specified")) >+ .getPropertyValue(property); >+ let inherited_value = >+ getComputedStyle(document.getElementById("inherited")) >+ .getPropertyValue(property); >+ assert_equals(inherited_value, specified_value); >+ }, "System color computes to itself on " + property); >+ test(function() { >+ let inherited_value = >+ document.getElementById("inherited").computedStyleMap() >+ .get(property); >+ assert_regexp_match(inherited_value, /menu/i); >+ }, "Inherited system color keyword is observable on " + property); >+ } >+</script> >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/t32-opacity-basic-0.6-a-expected.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/t32-opacity-basic-0.6-a-expected.html (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/t32-opacity-basic-0.6-a-expected.html (working copy) >@@ -0,0 +1,10 @@ >+<!DOCTYPE html> >+<meta charset="utf-8"> >+<title>CSS Reference</title> >+<style> >+ .test { color: rgb(102, 102, 102); } >+</style> >+<body> >+ <p class="test">This text should be the same color as the line below.</p> >+ <p class="test">This text should be the same color as the line above.</p> >+</body> >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/t32-opacity-basic-0.6-a.xht >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/t32-opacity-basic-0.6-a.xht (revision 271796) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/t32-opacity-basic-0.6-a.xht (working copy) >@@ -6,6 +6,7 @@ > <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" /> > <link rel="help" href="http://www.w3.org/TR/css3-color/#transparency" /> > <link rel="help" href="http://www.w3.org/TR/css3-color/#rgb-color" /> >+ <link rel="match" href="t32-opacity-basic-0.6-a-ref.html" /> > <meta name="flags" content="" /> > <meta name="assert" content="Opacity of 0.6 makes box partially opaque. Colors are in sRGB color space (may test)." /> > <style type="text/css"><![CDATA[ >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/t32-opacity-zorder-c-expected.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/t32-opacity-zorder-c-expected.html (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/t32-opacity-zorder-c-expected.html (working copy) >@@ -0,0 +1,59 @@ >+<!DOCTYPE html> >+<meta charset="utf-8"> >+<title>CSS Reference</title> >+<style> >+ table { border-spacing: 2px; } >+ td { border: 1px solid; } >+ td, div { width: 10px; height: 10px; } >+ div.opc { opacity: 0.99; } >+ div.green { background: green; } >+ div.up { margin-top: -10px; } >+ div.red { background: red; } >+</style> >+<body> >+ <p>Each of the following boxes should have a green or >+ very-nearly-green square inside of it:</p> >+ <table><tr> >+ <td> >+ <div class="green"></div> >+ </td> >+ <td> >+ <div class="red"></div> >+ <div class="up opc green"></div> >+ </td> >+ <td> >+ <div class="green"></div> >+ </td> >+ <td> >+ <div class="red"></div> >+ <div class="up opc green"></div> >+ </td> >+ <td> >+ <div class="green"></div> >+ </td> >+ <td> >+ <div class="red"></div> >+ <div class="up opc green"></div> >+ </td> >+ <td> >+ <div class="green"></div> >+ </td> >+ <td> >+ <div class="green"></div> >+ </td> >+ <td> >+ <div class="green"></div> >+ </td> >+ <td> >+ <div class="green"></div> >+ </td> >+ <td> >+ <div class="red"></div> >+ <div class="up opc green"></div> >+ </td> >+ <td> >+ <div class="red"></div> >+ <div class="up opc green"></div> >+ </td> >+ </tr></table> >+</body> >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/t32-opacity-zorder-c.xht >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/t32-opacity-zorder-c.xht (revision 271796) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/t32-opacity-zorder-c.xht (working copy) >@@ -5,6 +5,7 @@ > <link rel="author" title="L. David Baron" href="https://dbaron.org/" /> > <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" /> > <link rel="help" href="http://www.w3.org/TR/css3-color/#transparency" /> >+ <link rel="match" href="t32-opacity-zorder-c-ref.html" /> > <meta name="flags" content="" /> > <meta name="assert" content="Opacity has z-ordering treatment of positioned elements and z-index applies." /> > <style type="text/css"><![CDATA[ >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/t421-rgb-hex3-expand-b-expected.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/t421-rgb-hex3-expand-b-expected.html (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/t421-rgb-hex3-expand-b-expected.html (working copy) >@@ -0,0 +1,24 @@ >+<!DOCTYPE html> >+<meta charset="utf-8"> >+<title>CSS Reference</title> >+<style> >+ table { border-spacing: 0; padding: 0; border: none; } >+ td { border: none; padding: 0; width: 1.2em; height: 1.2em; } >+</style> >+<body> >+ <p>The left and right cells in each row of the following table should be the <em>same</em> color.</p> >+ >+ <table> >+ <tr><td style="background: #ee9922"> </td><td style="background: #ee9922"> </td></tr> >+ <tr><td style="background: #ffbb00"> </td><td style="background: #ffbb00"> </td></tr> >+ <tr><td style="background: #338811"> </td><td style="background: #338811"> </td></tr> >+ </table> >+ >+ <p>The left and right cells in each row of the following table should be slightly <em>different</em> colors. The right side should be slightly darker than the left.</p> >+ >+ <table> >+ <tr><td style="background: #ee9922"> </td><td style="background: #e09020"> </td></tr> >+ <tr><td style="background: #ffbb00"> </td><td style="background: #f0b000"> </td></tr> >+ <tr><td style="background: #338811"> </td><td style="background: #308010"> </td></tr> >+ </table> >+</body> >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/t421-rgb-hex3-expand-b.xht >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/t421-rgb-hex3-expand-b.xht (revision 271796) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/t421-rgb-hex3-expand-b.xht (working copy) >@@ -5,6 +5,7 @@ > <link rel="author" title="L. David Baron" href="https://dbaron.org/" /> > <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" /> > <link rel="help" href="http://www.w3.org/TR/css3-color/#rgb-color" /> >+ <link rel="match" href="t421-rgb-hex3-expand-b-ref.html" /> > <meta name="flags" content="" /> > <meta name="assert" content="Test that 3-digit #rgb values are expanded into #rrggbb and not #r0g0b0" /> > <style type="text/css"><![CDATA[ >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/t422-rgba-a0.6-a-expected.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/t422-rgba-a0.6-a-expected.html (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/t422-rgba-a0.6-a-expected.html (working copy) >@@ -0,0 +1,10 @@ >+<!DOCTYPE html> >+<meta charset="utf-8"> >+<title>CSS Reference</title> >+<style> >+ .test { color: rgb(102, 102, 102); } >+</style> >+<body> >+ <p class="test">This text should be the same color as the line below.</p> >+ <p class="test">This text should be the same color as the line above.</p> >+</body> >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/t422-rgba-a0.6-a.xht >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/t422-rgba-a0.6-a.xht (revision 271796) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/t422-rgba-a0.6-a.xht (working copy) >@@ -6,6 +6,7 @@ > <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" /> > <link rel="help" href="http://www.w3.org/TR/css3-color/#rgba-color" /> > <link rel="help" href="http://www.w3.org/TR/css3-color/#rgb-color" /> >+ <link rel="match" href="t32-opacity-basic-0.6-a-ref.html" /> > <meta name="flags" content="" /> > <meta name="assert" content="Opacity of 0.6 makes text partially opaque. Colors are in sRGB color space (may test)." /> > <style type="text/css"><![CDATA[ >@@ -16,7 +17,7 @@ > ]]></style> > </head> > <body> >- <p id="one">This text should be the same color (a shade of gray) as the line below.</p> >- <p id="two">This text should be the same color (a shade of gray) as the line above.</p> >+ <p id="one">This text should be the same color as the line below.</p> >+ <p id="two">This text should be the same color as the line above.</p> > </body> > </html> >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/t425-hsla-basic-a-expected.html >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/t425-hsla-basic-a-expected.html (nonexistent) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/t425-hsla-basic-a-expected.html (working copy) >@@ -0,0 +1,10 @@ >+<!DOCTYPE html> >+<meta charset="utf-8"> >+<title>CSS Reference</title> >+<style> >+ #one { color: #66FF66; } >+</style> >+<body> >+ <p id="one">This text should be light green (the same color as the line below).</p> >+ <p id="one">This text should be light green (the same color as the line above).</p> >+</body> >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/t425-hsla-basic-a.xht >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/t425-hsla-basic-a.xht (revision 271796) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/t425-hsla-basic-a.xht (working copy) >@@ -5,11 +5,11 @@ > <link rel="author" title="L. David Baron" href="https://dbaron.org/" /> > <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" /> > <link rel="help" href="http://www.w3.org/TR/css3-color/#hsla-color" /> >+ <link rel="match" href="t425-hsla-basic-a-ref.html" /> > <meta name="flags" content="" /> > <meta name="assert" content="Test basic functioning of hsla() colors." /> > <style type="text/css"><![CDATA[ > html, body { background: white; } >- p { font-weight: bold; margin: 0; } > #one { color: hsla(120, 100%, 70%, 1.0); } > #two { color: hsla(120, 100%, 50%, 0.6); } > ]]></style> >Index: LayoutTests/imported/w3c/web-platform-tests/css/css-color/w3c-import.log >=================================================================== >--- LayoutTests/imported/w3c/web-platform-tests/css/css-color/w3c-import.log (revision 271796) >+++ LayoutTests/imported/w3c/web-platform-tests/css/css-color/w3c-import.log (working copy) >@@ -115,6 +115,40 @@ List of files: > /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/predefined-001-expected.html >+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-001.html >+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-002-expected.html >+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-002.html >+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-003-expected.html >+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-003.html >+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-004-expected.html >+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-004.html >+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-005-expected.html >+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-005.html >+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-006-expected.html >+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-006.html >+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-007-expected.html >+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-007.html >+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-008-expected.html >+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-008.html >+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-009-expected.html >+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-009.html >+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-010-expected.html >+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-010.html >+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-011-expected.html >+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-011.html >+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-012-expected.html >+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-012.html >+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-013-expected.html >+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-013.html >+/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 >+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-016-expected.html >+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-016.html >+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-017-expected.html >+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/predefined-017.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 >@@ -148,12 +182,14 @@ List of files: > /LayoutTests/imported/w3c/web-platform-tests/css/css-color/rgba-007.html > /LayoutTests/imported/w3c/web-platform-tests/css/css-color/rgba-008-expected.html > /LayoutTests/imported/w3c/web-platform-tests/css/css-color/rgba-008.html >+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/system-color-compute.html > /LayoutTests/imported/w3c/web-platform-tests/css/css-color/t31-color-currentColor-b-expected.html > /LayoutTests/imported/w3c/web-platform-tests/css/css-color/t31-color-currentColor-b.xht > /LayoutTests/imported/w3c/web-platform-tests/css/css-color/t31-color-text-a-expected.xht > /LayoutTests/imported/w3c/web-platform-tests/css/css-color/t31-color-text-a.xht > /LayoutTests/imported/w3c/web-platform-tests/css/css-color/t32-opacity-basic-0.0-a-expected.html > /LayoutTests/imported/w3c/web-platform-tests/css/css-color/t32-opacity-basic-0.0-a.xht >+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/t32-opacity-basic-0.6-a-expected.html > /LayoutTests/imported/w3c/web-platform-tests/css/css-color/t32-opacity-basic-0.6-a.xht > /LayoutTests/imported/w3c/web-platform-tests/css/css-color/t32-opacity-basic-1.0-a-expected.html > /LayoutTests/imported/w3c/web-platform-tests/css/css-color/t32-opacity-basic-1.0-a.xht >@@ -169,6 +205,7 @@ List of files: > /LayoutTests/imported/w3c/web-platform-tests/css/css-color/t32-opacity-offscreen-multiple-boxes-2-c.xht > /LayoutTests/imported/w3c/web-platform-tests/css/css-color/t32-opacity-offscreen-with-alpha-c-expected.html > /LayoutTests/imported/w3c/web-platform-tests/css/css-color/t32-opacity-offscreen-with-alpha-c.xht >+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/t32-opacity-zorder-c-expected.html > /LayoutTests/imported/w3c/web-platform-tests/css/css-color/t32-opacity-zorder-c.xht > /LayoutTests/imported/w3c/web-platform-tests/css/css-color/t41-html4-keywords-a-expected.html > /LayoutTests/imported/w3c/web-platform-tests/css/css-color/t41-html4-keywords-a.xht >@@ -186,6 +223,7 @@ List of files: > /LayoutTests/imported/w3c/web-platform-tests/css/css-color/t421-rgb-hex-parsing-f.xht > /LayoutTests/imported/w3c/web-platform-tests/css/css-color/t421-rgb-hex3-a-expected.html > /LayoutTests/imported/w3c/web-platform-tests/css/css-color/t421-rgb-hex3-a.xht >+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/t421-rgb-hex3-expand-b-expected.html > /LayoutTests/imported/w3c/web-platform-tests/css/css-color/t421-rgb-hex3-expand-b.xht > /LayoutTests/imported/w3c/web-platform-tests/css/css-color/t421-rgb-hex6-a-expected.html > /LayoutTests/imported/w3c/web-platform-tests/css/css-color/t421-rgb-hex6-a.xht >@@ -193,6 +231,7 @@ List of files: > /LayoutTests/imported/w3c/web-platform-tests/css/css-color/t421-rgb-values-meaning-b.xht > /LayoutTests/imported/w3c/web-platform-tests/css/css-color/t422-rgba-a0.0-a-expected.html > /LayoutTests/imported/w3c/web-platform-tests/css/css-color/t422-rgba-a0.0-a.xht >+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/t422-rgba-a0.6-a-expected.html > /LayoutTests/imported/w3c/web-platform-tests/css/css-color/t422-rgba-a0.6-a.xht > /LayoutTests/imported/w3c/web-platform-tests/css/css-color/t422-rgba-a1.0-a-expected.html > /LayoutTests/imported/w3c/web-platform-tests/css/css-color/t422-rgba-a1.0-a.xht >@@ -258,6 +297,7 @@ List of files: > /LayoutTests/imported/w3c/web-platform-tests/css/css-color/t424-hsl-values-b-8.html > /LayoutTests/imported/w3c/web-platform-tests/css/css-color/t424-hsl-values-b-9-expected.html > /LayoutTests/imported/w3c/web-platform-tests/css/css-color/t424-hsl-values-b-9.html >+/LayoutTests/imported/w3c/web-platform-tests/css/css-color/t425-hsla-basic-a-expected.html > /LayoutTests/imported/w3c/web-platform-tests/css/css-color/t425-hsla-basic-a.xht > /LayoutTests/imported/w3c/web-platform-tests/css/css-color/t425-hsla-clip-outside-device-gamut-b-expected.html > /LayoutTests/imported/w3c/web-platform-tests/css/css-color/t425-hsla-clip-outside-device-gamut-b.xht
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
ews-feeder
:
commit-queue-
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 220247
:
416952
|
418243
| 418298