Web Inspector: Elements: DOM breakpoint icon should stroke when hovering selection...
authordrousso@apple.com <drousso@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 3 Apr 2019 00:44:42 +0000 (00:44 +0000)
committerdrousso@apple.com <drousso@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 3 Apr 2019 00:44:42 +0000 (00:44 +0000)
https://bugs.webkit.org/show_bug.cgi?id=196516
<rdar://problem/49540494>

Reviewed by Timothy Hatcher.

* UserInterface/Views/DOMTreeContentView.css:
(body:not(.window-inactive) .content-view.dom-tree .tree-outline.dom:focus li:matches(.selected, .hovered) .status-image.breakpoint,): Added.
(body:not(.window-inactive) .content-view.dom-tree .tree-outline.dom:focus li:matches(.selected, .hovered) .status-image.breakpoint.subtree): Added.
(body:not(.window-inactive) .content-view.dom-tree .tree-outline.dom:focus li:matches(.selected, :hover) .status-image.breakpoint): Deleted.
(body:not(.window-inactive) .content-view.dom-tree .tree-outline.dom:focus li:matches(.selected, :hover) .status-image.breakpoint.subtree): Deleted.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@243781 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Views/DOMTreeContentView.css

index 2fb7e15..9fb60f5 100644 (file)
@@ -1,3 +1,17 @@
+2019-04-02  Devin Rousso  <drousso@apple.com>
+
+        Web Inspector: Elements: DOM breakpoint icon should stroke when hovering selection area
+        https://bugs.webkit.org/show_bug.cgi?id=196516
+        <rdar://problem/49540494>
+
+        Reviewed by Timothy Hatcher.
+
+        * UserInterface/Views/DOMTreeContentView.css:
+        (body:not(.window-inactive) .content-view.dom-tree .tree-outline.dom:focus li:matches(.selected, .hovered) .status-image.breakpoint,): Added.
+        (body:not(.window-inactive) .content-view.dom-tree .tree-outline.dom:focus li:matches(.selected, .hovered) .status-image.breakpoint.subtree): Added.
+        (body:not(.window-inactive) .content-view.dom-tree .tree-outline.dom:focus li:matches(.selected, :hover) .status-image.breakpoint): Deleted.
+        (body:not(.window-inactive) .content-view.dom-tree .tree-outline.dom:focus li:matches(.selected, :hover) .status-image.breakpoint.subtree): Deleted.
+
 2019-04-01  Devin Rousso  <drousso@apple.com>
 
         Web Inspector: Debugger: modernize serialization of breakpoints and the maps that hold them
index 6401deb..b213f45 100644 (file)
@@ -58,7 +58,7 @@ body[dir=rtl] .content-view.dom-tree .tree-outline.dom li .status-image {
     fill: var(--breakpoint-color);
 }
 
-body:not(.window-inactive) .content-view.dom-tree .tree-outline.dom:focus li:matches(.selected, :hover) .status-image.breakpoint {
+body:not(.window-inactive) .content-view.dom-tree .tree-outline.dom:focus li:matches(.selected, .hovered) .status-image.breakpoint {
     stroke: var(--selected-foreground-color);
 }
 
@@ -75,7 +75,7 @@ body:not(.window-inactive) .content-view.dom-tree .tree-outline.dom:focus li:mat
     stroke: var(--breakpoint-color);
 }
 
-body:not(.window-inactive) .content-view.dom-tree .tree-outline.dom:focus li:matches(.selected, :hover) .status-image.breakpoint.subtree {
+body:not(.window-inactive) .content-view.dom-tree .tree-outline.dom:focus li:matches(.selected, .hovered) .status-image.breakpoint.subtree {
     stroke: var(--selected-foreground-color);
 }