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 Rendering | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Martin Robinson
The style no longer seems to apply, but I don't know what changed to make this happen.
Raphael Kubo da Costa (:rakuco)
*** This bug has been marked as a duplicate of bug 87615 ***