Bug 18509 - select does not use border-box model
Summary: select does not use border-box model
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 525.x (Safari 3.1)
Hardware: Mac OS X 10.4
: P2 Major
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-15 01:24 PDT by jb365
Modified: 2011-10-20 04:51 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jb365 2008-04-15 01:24:10 PDT
<select> does not size by "border-box" model. When assigned height/width to a select element. It was treated as "content-box".

e.g. <select style="height:30px;width:40px"> The whole width will be 40 + 1*2 = 42; The number 1 is the default border value.
Comment 1 Tab Atkins 2011-10-20 04:51:10 PDT
Loading up a page with a <select> styled as given, the element is 40px wide now.  We must have fixed the error sometime since the bug was reported.

I'm closing this bug, but if the problem is still around, please reopen the bug with a new testcase illustrating the problem.