Title: [260853] trunk/Source/WebInspectorUI
Revision
260853
Author
nvasil...@apple.com
Date
2020-04-28 15:57:27 -0700 (Tue, 28 Apr 2020)

Log Message

Web Inspector: Debug: "Outline focused element" should also outline elements with tabIndex=0
https://bugs.webkit.org/show_bug.cgi?id=211109

Reviewed by Devin Rousso.

* UserInterface/Debug/Bootstrap.css:
(body.focus-debug [tabindex="0"]):
(body.focus-debug *:focus):

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (260852 => 260853)


--- trunk/Source/WebInspectorUI/ChangeLog	2020-04-28 22:42:23 UTC (rev 260852)
+++ trunk/Source/WebInspectorUI/ChangeLog	2020-04-28 22:57:27 UTC (rev 260853)
@@ -1,3 +1,14 @@
+2020-04-28  Nikita Vasilyev  <nvasil...@apple.com>
+
+        Web Inspector: Debug: "Outline focused element" should also outline elements with tabIndex=0
+        https://bugs.webkit.org/show_bug.cgi?id=211109
+
+        Reviewed by Devin Rousso.
+
+        * UserInterface/Debug/Bootstrap.css:
+        (body.focus-debug [tabindex="0"]):
+        (body.focus-debug *:focus):
+
 2020-04-28  Devin Rousso  <drou...@apple.com>
 
         Web Inspector: find dialog does not populate search string from system find pasteboard

Modified: trunk/Source/WebInspectorUI/UserInterface/Debug/Bootstrap.css (260852 => 260853)


--- trunk/Source/WebInspectorUI/UserInterface/Debug/Bootstrap.css	2020-04-28 22:42:23 UTC (rev 260852)
+++ trunk/Source/WebInspectorUI/UserInterface/Debug/Bootstrap.css	2020-04-28 22:57:27 UTC (rev 260853)
@@ -23,8 +23,13 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+body.focus-debug [tabindex="0"] {
+    outline: 1px solid hsla(300, 100%, 50%, 0.4) !important;
+    outline-offset: -2px !important;
+}
+
 body.focus-debug *:focus {
-    outline: 2px solid fuchsia !important;
+    outline: 2px solid hsl(300, 100%, 50%) !important;
     outline-offset: -1px !important;
 }
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to