[Webkit-unassigned] [Bug 86405] New: first-letter does not work for input element and might need to be disabled

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 14 14:37:38 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=86405

           Summary: first-letter does not work for input element and might
                    need to be disabled
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: inferno at chromium.org
                CC: hyatt at apple.com, mitz at webkit.org


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>

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list