WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
11482
Textbox INPUT is wider than should be
https://bugs.webkit.org/show_bug.cgi?id=11482
Summary
Textbox INPUT is wider than should be
Miroslav Juhos
Reported
2006-11-01 05:38:41 PST
INPUT with type="text" is rendered wider than is set in CSS style in strict mode. E.g. INPUT which was set width 200px is rendered with width 202px.
Attachments
Testcase
(312 bytes, text/html)
2006-11-01 05:39 PST
,
Miroslav Juhos
no flags
Details
Screenshot with description
(4.27 KB, image/png)
2006-11-01 05:41 PST
,
Miroslav Juhos
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Miroslav Juhos
Comment 1
2006-11-01 05:39:53 PST
Created
attachment 11322
[details]
Testcase See blue div as measure.
Miroslav Juhos
Comment 2
2006-11-01 05:41:02 PST
Created
attachment 11323
[details]
Screenshot with description
Dave Hyatt
Comment 3
2006-11-01 14:10:13 PST
This is not a bug. input elements use content box sizing like other HTML elements in strict mode, so the border/padding of the textfield is not counted as part of the width. You will see the same behavior in Firefox if you try it.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug