Title: [179636] trunk/Source/WebInspectorUI
Revision
179636
Author
commit-qu...@webkit.org
Date
2015-02-04 14:29:01 -0800 (Wed, 04 Feb 2015)

Log Message

Web Inspector: Insertion bar (caret) is hidden behind the placeholder text in the style editor
https://bugs.webkit.org/show_bug.cgi?id=139659

Patch by Nikita Vasilyev <nvasil...@apple.com> on 2015-02-04
Reviewed by Timothy Hatcher.

* UserInterface/Views/CSSStyleDeclarationTextEditor.css:
(.css-style-text-editor > .CodeMirror .CodeMirror-placeholder):
Use non-monospace font to fit the placeholder text on a single line and
match the color if the native placeholder.

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (179635 => 179636)


--- trunk/Source/WebInspectorUI/ChangeLog	2015-02-04 22:27:19 UTC (rev 179635)
+++ trunk/Source/WebInspectorUI/ChangeLog	2015-02-04 22:29:01 UTC (rev 179636)
@@ -1,3 +1,15 @@
+2015-02-04  Nikita Vasilyev  <nvasil...@apple.com>
+
+        Web Inspector: Insertion bar (caret) is hidden behind the placeholder text in the style editor
+        https://bugs.webkit.org/show_bug.cgi?id=139659
+
+        Reviewed by Timothy Hatcher.
+
+        * UserInterface/Views/CSSStyleDeclarationTextEditor.css:
+        (.css-style-text-editor > .CodeMirror .CodeMirror-placeholder):
+        Use non-monospace font to fit the placeholder text on a single line and
+        match the color if the native placeholder.
+
 2015-02-04  Joseph Pecoraro  <pecor...@apple.com>
 
         Web Inspector: console.table with columnName filter for non-existent property should still show column

Modified: trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.css (179635 => 179636)


--- trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.css	2015-02-04 22:27:19 UTC (rev 179635)
+++ trunk/Source/WebInspectorUI/UserInterface/Views/CSSStyleDeclarationTextEditor.css	2015-02-04 22:29:01 UTC (rev 179636)
@@ -37,7 +37,8 @@
 }
 
 .css-style-text-editor > .CodeMirror .CodeMirror-placeholder {
-    color: rgb(128, 128, 128);
+    font-family: -webkit-system-font, sans-serif;
+    color: hsl(0, 0%, 65%);
     padding: 0 5px 0 25px;
     text-indent: 0;
 }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to