From 13c49b3d332fe5e21a2d8cf83384e702842c9951 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= Date: Thu, 7 Jul 2022 19:03:49 +0200 Subject: [PATCH 1/2] Introduce FocusOptions.focusVisible. Fixes #7830 --- source | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/source b/source index 1db1e5e1fb0..c351b2426d2 100644 --- a/source +++ b/source @@ -3867,6 +3867,7 @@ a.setAttribute('href', 'https://example.com/'); // change the content attribute
  • :focus-visible pseudo-class
  • +
  • indicate focus
  • The following features are defined in CSS Values and Units:

    dictionary FocusOptions {
       boolean preventScroll = false;
    +  boolean focusVisible;
     };
    @@ -77629,6 +77631,12 @@ END:VCARD
  • Run the focusing steps for the element.

  • +
  • If the value of the focusVisible dictionary member of + options is true, + or is not present but in an implementation-defined way the user agent determines it + would be best to do so, then indicate focus.

  • +
  • If the value of the preventScroll dictionary member of options is false, then scroll the element From 3388112555cb1d32ae5108ce7d1c313712f38e2e Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Wed, 13 Jul 2022 12:44:28 +0900 Subject: [PATCH 2/2] Rewrap --- source | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source b/source index c351b2426d2..434fabf9cac 100644 --- a/source +++ b/source @@ -77633,9 +77633,8 @@ END:VCARD

  • If the value of the focusVisible dictionary member of - options is true, - or is not present but in an implementation-defined way the user agent determines it - would be best to do so, then indicate focus.

  • + options is true, or is not present but in an implementation-defined way + the user agent determines it would be best to do so, then indicate focus.

  • If the value of the preventScroll dictionary member of