Bug 47496

Summary: Input elements with defined widths have no left or right margin
Product: WebKit Reporter: Clint <cfanyc>
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: robert
Priority: P3    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.6   
Attachments:
Description Flags
webkit-input-test none

Clint
Reported 2010-10-11 10:33:50 PDT
Created attachment 70450 [details] webkit-input-test I've tested this in the latest webkit (r69429), Chrome (6.0.472.63) and Safari 5.0.2 (6533.18.5), all display the same bug. Basically, if you have a defined width on an input, webkit removes the left and right margin of 2px that it gives to input elements without a width defined. I also tried different doctypes to see if it had anything to do with the rendering and got the same results with html 4 transitional/strict and html5.
Attachments
webkit-input-test (540 bytes, text/html)
2010-10-11 10:33 PDT, Clint
no flags
Robert Hogan
Comment 1 2013-11-18 22:05:49 PST
This is expected behaviour.
Note You need to log in before you can comment on or make changes to this bug.