Bug 7505

Summary: textarea width doesn't correctly correspond to cols attribute
Product: WebKit Reporter: Justin Garcia <justin.garcia>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ddkilzer, ian
Priority: P4    
Version: 420+   
Hardware: Mac   
OS: OS X 10.4   

Description Justin Garcia 2006-02-27 20:09:27 PST
Open the following snippit it the Snippit Editor:

<textarea style="font-family:Courier New" cols="5">123456789</textarea>

The textarea is wide enough to accomodate 1234567 on the first line.  With a fixed width font like Courier New, the first line should only accomodate 12345.  

See:
http://www.w3.org/TR/html401/interact/forms.html
Comment 1 Ojan Vafai 2009-04-28 16:14:37 PDT

*** This bug has been marked as a duplicate of 15312 ***