Changeset 260853 in webkit


Ignore:
Timestamp:
Apr 28, 2020 3:57:27 PM (4 years ago)
Author:
Nikita Vasilyev
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):

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r260847 r260853  
     12020-04-28  Nikita Vasilyev  <nvasilyev@apple.com>
     2
     3        Web Inspector: Debug: "Outline focused element" should also outline elements with tabIndex=0
     4        https://bugs.webkit.org/show_bug.cgi?id=211109
     5
     6        Reviewed by Devin Rousso.
     7
     8        * UserInterface/Debug/Bootstrap.css:
     9        (body.focus-debug [tabindex="0"]):
     10        (body.focus-debug *:focus):
     11
    1122020-04-28  Devin Rousso  <drousso@apple.com>
    213
  • trunk/Source/WebInspectorUI/UserInterface/Debug/Bootstrap.css

    r258898 r260853  
    2424 */
    2525
     26body.focus-debug [tabindex="0"] {
     27    outline: 1px solid hsla(300, 100%, 50%, 0.4) !important;
     28    outline-offset: -2px !important;
     29}
     30
    2631body.focus-debug *:focus {
    27     outline: 2px solid fuchsia !important;
     32    outline: 2px solid hsl(300, 100%, 50%) !important;
    2833    outline-offset: -1px !important;
    2934}
Note: See TracChangeset for help on using the changeset viewer.