From 3f0667829d1a035b0eb924fce7434d7d1b56ed63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Sat, 24 Jul 2021 12:55:39 +0000 Subject: [PATCH] Bug 1722031 - Fix an accent-color test. r=mstange No other property returns `currentcolor` in the computed style, and Chrome agrees with us on this test. Differential Revision: https://phabricator.services.mozilla.com/D120725 --- .../meta/css/css-ui/accent-color-computed.html.ini | 4 ---- .../web-platform/tests/css/css-ui/accent-color-computed.html | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) delete mode 100644 testing/web-platform/meta/css/css-ui/accent-color-computed.html.ini diff --git a/testing/web-platform/meta/css/css-ui/accent-color-computed.html.ini b/testing/web-platform/meta/css/css-ui/accent-color-computed.html.ini deleted file mode 100644 index 5d63a2eb76ac..000000000000 --- a/testing/web-platform/meta/css/css-ui/accent-color-computed.html.ini +++ /dev/null @@ -1,4 +0,0 @@ -[accent-color-computed.html] - [Property accent-color value 'currentcolor'] - expected: FAIL - diff --git a/testing/web-platform/tests/css/css-ui/accent-color-computed.html b/testing/web-platform/tests/css/css-ui/accent-color-computed.html index 10e080104d7d..d2d3241060e6 100644 --- a/testing/web-platform/tests/css/css-ui/accent-color-computed.html +++ b/testing/web-platform/tests/css/css-ui/accent-color-computed.html @@ -4,7 +4,7 @@
@@ -16,7 +16,7 @@ test_computed_value('accent-color', 'inherit', 'rgb(255, 0, 0)'); test_computed_value('accent-color', 'red', 'rgb(255, 0, 0)'); test_computed_value('accent-color', 'blue', 'rgb(0, 0, 255)'); test_computed_value('accent-color', 'auto', 'auto'); -test_computed_value('accent-color', 'currentcolor', 'currentcolor'); +test_computed_value('accent-color', 'currentcolor', 'rgb(0, 0, 0)'); test_computed_value('accent-color', '#fff', 'rgb(255, 255, 255)'); // When accent-color isn't specified, it should return 'auto'