Bug 646027 - Add some space after last char of a textbox [r=mfinkle]
authorVivien Nicolas <21@vingtetun.org>
Wed, 30 Mar 2011 19:46:58 +0200
changeset 2952 173bf6f09ebb731155844de258ba5a5cc92611b7
parent 2951 3f9373ef450e77a723bc681e343e8e01f0136ae3
child 2953 cf2ab7ef19206809fcf83c79b073a4c0bc1b5a22
push id2489
push uservnicolas@mozilla.com
push dateWed, 30 Mar 2011 17:47:48 +0000
reviewersmfinkle
bugs646027
Bug 646027 - Add some space after last char of a textbox [r=mfinkle]
chrome/content/content.css
--- a/chrome/content/content.css
+++ b/chrome/content/content.css
@@ -342,8 +342,17 @@ textarea:active {
 /*  
  * Until datalist are fully supported on mobile (bug 628616) set the display
  * to inline in order to allow fallback to works
  */
 datalist {
   display: inline;
 }
 
+/* 
+ * Generate an additional space after the anonymous div to make it easier to
+ * to position the caret at the end of the text
+ */
+input > .anonymous-div:after {
+  content: "";
+  margin: 16px;
+}
+