Bug 86405

Summary: first-letter does not work for input element and might need to be disabled
Product: WebKit Reporter: Abhishek Arya <inferno>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ap, esprehn, hyatt, mitz, mrobinson, rakuco
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

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.