Title: [121150] trunk/Source/WebCore
Revision
121150
Author
[email protected]
Date
2012-06-25 05:41:44 -0700 (Mon, 25 Jun 2012)

Log Message

Web Inspector: [Styles] Cannot visually set caret before the first CSS property name character
https://bugs.webkit.org/show_bug.cgi?id=89869

Reviewed by Vsevolod Vlasov.

The issue was due to the "editbox" SPAN having a negative margin, thus the leftmost caret position was getting clipped
by a synthetic SPAN container added by the TextPrompt.

* inspector/front-end/elementsPanel.css:
(.styles-section .properties > li.child-editing .webkit-css-property):
(.styles-section .properties li.child-editing):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (121149 => 121150)


--- trunk/Source/WebCore/ChangeLog	2012-06-25 12:09:33 UTC (rev 121149)
+++ trunk/Source/WebCore/ChangeLog	2012-06-25 12:41:44 UTC (rev 121150)
@@ -1,3 +1,17 @@
+2012-06-25  Alexander Pavlov  <[email protected]>
+
+        Web Inspector: [Styles] Cannot visually set caret before the first CSS property name character
+        https://bugs.webkit.org/show_bug.cgi?id=89869
+
+        Reviewed by Vsevolod Vlasov.
+
+        The issue was due to the "editbox" SPAN having a negative margin, thus the leftmost caret position was getting clipped
+        by a synthetic SPAN container added by the TextPrompt.
+
+        * inspector/front-end/elementsPanel.css:
+        (.styles-section .properties > li.child-editing .webkit-css-property):
+        (.styles-section .properties li.child-editing):
+
 2012-06-25  Arko Saha  <[email protected]>
 
         Microdata: document.getItems(typeNames) is not returning Microdata items when typeNames argument is not specified.

Modified: trunk/Source/WebCore/inspector/front-end/elementsPanel.css (121149 => 121150)


--- trunk/Source/WebCore/inspector/front-end/elementsPanel.css	2012-06-25 12:09:33 UTC (rev 121149)
+++ trunk/Source/WebCore/inspector/front-end/elementsPanel.css	2012-06-25 12:41:44 UTC (rev 121150)
@@ -352,7 +352,7 @@
 }
 
 .styles-section .properties > li.child-editing .webkit-css-property {
-    margin-left: -8px;
+    margin-left: 0;
 }
 
 .styles-section.matched-styles .properties li {
@@ -362,6 +362,7 @@
 .styles-section .properties li.child-editing {
     word-wrap: break-word !important;
     white-space: normal !important;
+    padding-left: 0;
 }
 
 .styles-section .properties ol {
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to