Skip to content

Commit

Permalink
Parse -webkit-focus-ring-color (computing to black).
Browse files Browse the repository at this point in the history
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
  • Loading branch information
emilio authored and moz-wptsync-bot committed Jul 8, 2021
1 parent 87a4c80 commit 5d10b8c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions css/css-color/webkit-focus-ring-color.tentative.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!doctype html>
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1718934">
<title>-webkit-focus-ring-color is supported for compat</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script>
test(function() {
assert_true(CSS.supports("color", "-webkit-focus-ring-color"));
});
</script>

0 comments on commit 5d10b8c

Please sign in to comment.