Title: [251254] trunk/Source/WebInspectorUI
Revision
251254
Author
[email protected]
Date
2019-10-17 13:21:19 -0700 (Thu, 17 Oct 2019)

Log Message

Web Inspector: Elements: selection shouldn't be dimmed by shadow trees
https://bugs.webkit.org/show_bug.cgi?id=203057

Reviewed by Joseph Pecoraro.

* UserInterface/Views/DOMTreeOutline.css:
(.tree-outline.dom li .selection-area):
(.tree-outline.dom li > span): Added.
Don't force the `.selection-area` to be behind (`z-index: -1;`) the rest of the content, as
that also puts it behind any `background-color`. Instead, we should make all the content in
every `WI.DOMTreeElement` be above (`z-index: 1;`) the rest of the content, including the
`.selection-area` and any parent's `background-color`.

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (251253 => 251254)


--- trunk/Source/WebInspectorUI/ChangeLog	2019-10-17 19:23:22 UTC (rev 251253)
+++ trunk/Source/WebInspectorUI/ChangeLog	2019-10-17 20:21:19 UTC (rev 251254)
@@ -1,5 +1,20 @@
 2019-10-17  Devin Rousso  <[email protected]>
 
+        Web Inspector: Elements: selection shouldn't be dimmed by shadow trees
+        https://bugs.webkit.org/show_bug.cgi?id=203057
+
+        Reviewed by Joseph Pecoraro.
+
+        * UserInterface/Views/DOMTreeOutline.css:
+        (.tree-outline.dom li .selection-area):
+        (.tree-outline.dom li > span): Added.
+        Don't force the `.selection-area` to be behind (`z-index: -1;`) the rest of the content, as
+        that also puts it behind any `background-color`. Instead, we should make all the content in
+        every `WI.DOMTreeElement` be above (`z-index: 1;`) the rest of the content, including the
+        `.selection-area` and any parent's `background-color`.
+
+2019-10-17  Devin Rousso  <[email protected]>
+
         Web Inspector: Network: updates when toggling resource caching should be sent to every connected target
         https://bugs.webkit.org/show_bug.cgi?id=203025
 

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeOutline.css (251253 => 251254)


--- trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeOutline.css	2019-10-17 19:23:22 UTC (rev 251253)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeOutline.css	2019-10-17 20:21:19 UTC (rev 251254)
@@ -50,7 +50,6 @@
     left: 0;
     right: 0;
     height: 15px;
-    z-index: -1;
 }
 
 .tree-outline.dom li.selected .selection-area {
@@ -70,6 +69,11 @@
     opacity: 0.3;
 }
 
+.tree-outline.dom li > span {
+    position: relative;
+    z-index: 1;
+}
+
 .tree-outline.dom.show-last-selected li.last-selected > span::after {
     content: " = " var(--console-saved-result-prefix) "0";
     color: var(--console-secondary-text-color);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to