Bug 24610 - Inspector shows wrong size for listbox
Summary: Inspector shows wrong size for listbox
Status: RESOLVED WORKSFORME
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-15 10:21 PDT by Simon Fraser (smfr)
Modified: 2014-12-17 17:12 PST (History)
2 users (show)

See Also:


Attachments
Screenshot (6.10 KB, image/png)
2009-03-15 10:21 PDT, Simon Fraser (smfr)
no flags Details
Testcsae (1.85 KB, text/html)
2009-03-15 10:21 PDT, Simon Fraser (smfr)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.