Bug 24610

Summary: Inspector shows wrong size for listbox
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: burg, sam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
Screenshot
none
Testcsae none

Simon Fraser (smfr)
Reported 2009-03-15 10:21:02 PDT
The inspector shows a rect that is too narrow for the multiline <select> (i.e. listbox). It seems to not take the scrollbar into account. This indicates that the 'absoluteQuads' methods are wrong for list boxes.
Attachments
Screenshot (6.10 KB, image/png)
2009-03-15 10:21 PDT, Simon Fraser (smfr)
no flags
Testcsae (1.85 KB, text/html)
2009-03-15 10:21 PDT, Simon Fraser (smfr)
no flags
Simon Fraser (smfr)
Comment 1 2009-03-15 10:21:15 PDT
Created attachment 28638 [details] Screenshot
Simon Fraser (smfr)
Comment 2 2009-03-15 10:21:31 PDT
Created attachment 28639 [details] Testcsae
Sam Weinig
Comment 3 2009-03-15 11:30:49 PDT
You can probably test this using the new getBoundingClientRect method.
Note You need to log in before you can comment on or make changes to this bug.