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

Description Simon Fraser (smfr) 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.
Comment 1 Simon Fraser (smfr) 2009-03-15 10:21:15 PDT
Created attachment 28638 [details]
Screenshot
Comment 2 Simon Fraser (smfr) 2009-03-15 10:21:31 PDT
Created attachment 28639 [details]
Testcsae
Comment 3 Sam Weinig 2009-03-15 11:30:49 PDT
You can probably test this using the new getBoundingClientRect method.