RESOLVED DUPLICATE of bug 8761586405
first-letter does not work for input element and might need to be disabled
https://bugs.webkit.org/show_bug.cgi?id=86405
Summary first-letter does not work for input element and might need to be disabled
Abhishek Arya
Reported 2012-05-14 14:36:42 PDT
try this testcase (which does apply first-letter on first letter 'a') and then try to manipulate value in textbox. only one character seem to be allowed and if you try to type more, it does not work. comparing behavior with other browsers like firefox, opera and ie, they do disable first-letter for input, so we might want to overwrite updateFirstLetter with a null function in this case. <html> <style> input:first-letter { color:red; } </style> <body> <input value="abc">blah</input> </body> </html>
Attachments
Martin Robinson
Comment 1 2013-03-01 23:53:53 PST
The style no longer seems to apply, but I don't know what changed to make this happen.
Raphael Kubo da Costa (:rakuco)
Comment 2 2013-05-08 06:39:02 PDT
*** This bug has been marked as a duplicate of bug 87615 ***
Note You need to log in before you can comment on or make changes to this bug.