REGRESSION (r201454): Web Inspector: Text caret isn't visible when editing an attribute
authornvasilyev@apple.com <nvasilyev@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 1 Sep 2016 19:32:46 +0000 (19:32 +0000)
committernvasilyev@apple.com <nvasilyev@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 1 Sep 2016 19:32:46 +0000 (19:32 +0000)
https://bugs.webkit.org/show_bug.cgi?id=160986
<rdar://problem/27916207>

Reviewed by Brian Burg.

* UserInterface/Views/DOMTreeOutline.css:
(.tree-outline.dom li .selection-area):
(.tree-outline.dom li > span):
Place selection area under the edited field, the way it was before r201454.

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

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

index 310bb66..0ff112a 100644 (file)
@@ -1,3 +1,16 @@
+2016-09-01  Nikita Vasilyev  <nvasilyev@apple.com>
+
+        REGRESSION (r201454): Web Inspector: Text caret isn't visible when editing an attribute
+        https://bugs.webkit.org/show_bug.cgi?id=160986
+        <rdar://problem/27916207>
+
+        Reviewed by Brian Burg.
+
+        * UserInterface/Views/DOMTreeOutline.css:
+        (.tree-outline.dom li .selection-area):
+        (.tree-outline.dom li > span):
+        Place selection area under the edited field, the way it was before r201454.
+
 2016-09-01  Brian Burg  <bburg@apple.com>
 
         Web Inspector: tweak one UIString for "reasons for compositing"
index fbf2b26..d537a12 100644 (file)
@@ -48,7 +48,7 @@
     left: 0;
     right: 0;
     height: 15px;
-    z-index: 10;
+    z-index: -1;
 }
 
 .tree-outline.dom li.selected .selection-area {
     background-color: hsl(209, 100%, 49%);
 }
 
-.tree-outline.dom li > span {
-    position: relative;
-    z-index: 20;
-}
-
 .tree-outline.dom li.selected > span::after {
     content: " = $0";
     color: var(--console-secondary-text-color);