Skip to content

Commit 5d10b8c

Browse files
emiliomoz-wptsync-bot
authored andcommitted
Parse -webkit-focus-ring-color (computing to black).
Some pages use this to hide the focus outline. On Blink it seems black, WebKit uses it to expose the OS accent color. Make it black, which is the default when the color isn't implemented on a given platform. Differential Revision: https://phabricator.services.mozilla.com/D119036 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1718934 gecko-commit: d06a9296cfab476b49da4fda4e8b720bf0bf826c gecko-reviewers: mstange, geckoview-reviewers, aklotz
1 parent 87a4c80 commit 5d10b8c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!doctype html>
2+
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1718934">
3+
<title>-webkit-focus-ring-color is supported for compat</title>
4+
<script src="/resources/testharness.js"></script>
5+
<script src="/resources/testharnessreport.js"></script>
6+
<script>
7+
test(function() {
8+
assert_true(CSS.supports("color", "-webkit-focus-ring-color"));
9+
});
10+
</script>

0 commit comments

Comments
 (0)