Title: [186163] trunk/Source/WebInspectorUI
Revision
186163
Author
[email protected]
Date
2015-06-30 19:07:37 -0700 (Tue, 30 Jun 2015)

Log Message

Web Inspector: add " = $0" hint after selected element in main DOMTreeOutline
https://bugs.webkit.org/show_bug.cgi?id=145739

Patch by Devin Rousso <[email protected]> on 2015-06-30
Reviewed by Timothy Hatcher.

* UserInterface/Views/DOMTreeOutline.css: Adds a semi-opaque " = $0" to the selected element in the DOM tree.
(.dom-tree-outline li.selected > span::after):
(.dom-tree-outline:focus li.selected > span::after):

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (186162 => 186163)


--- trunk/Source/WebInspectorUI/ChangeLog	2015-07-01 02:03:23 UTC (rev 186162)
+++ trunk/Source/WebInspectorUI/ChangeLog	2015-07-01 02:07:37 UTC (rev 186163)
@@ -1,3 +1,14 @@
+2015-06-30  Devin Rousso  <[email protected]>
+
+        Web Inspector: add " = $0" hint after selected element in main DOMTreeOutline
+        https://bugs.webkit.org/show_bug.cgi?id=145739
+
+        Reviewed by Timothy Hatcher.
+
+        * UserInterface/Views/DOMTreeOutline.css: Adds a semi-opaque " = $0" to the selected element in the DOM tree.
+        (.dom-tree-outline li.selected > span::after):
+        (.dom-tree-outline:focus li.selected > span::after):
+
 2015-06-30  Joseph Pecoraro  <[email protected]>
 
         Web Inspector: ProfileNode cleanup

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeOutline.css (186162 => 186163)


--- trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeOutline.css	2015-07-01 02:03:23 UTC (rev 186162)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/DOMTreeOutline.css	2015-07-01 02:07:37 UTC (rev 186163)
@@ -72,6 +72,15 @@
     background-color: rgb(0, 128, 252);
 }
 
+.dom-tree-outline li.selected > span::after {
+    content: " = $0";
+    opacity: 0.33;
+}
+
+.dom-tree-outline:focus li.selected > span::after {
+    opacity: 0.9;
+}
+
 .dom-tree-outline ol {
     list-style-type: none;
     padding-left: 1.2em;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to