Bug 13525 - Repainting a listbox schedules a relayout
Summary: Repainting a listbox schedules a relayout
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: 523.x (Safari 3)
Hardware: Mac OS X 10.4
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-27 10:04 PDT by mitz
Modified: 2007-04-28 00:06 PDT (History)
0 users

See Also:


Attachments
Fix scheduleRelayout() (2.66 KB, patch)
2007-04-27 10:05 PDT, mitz
no flags Details | Formatted Diff | Diff
Fix scheduleRelayout() (2.64 KB, patch)
2007-04-27 10:59 PDT, mitz
hyatt: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description mitz 2007-04-27 10:04:53 PDT
When painting listboxes (and file upload controls) a temporary anonymous block is used to run the bidi algorithm. Manipulating the block results in marking it for relayout. Due to a bug first noted in bug 10862, this results in the entire view being scheduled for relayout every single time the listbox is painted.

Patch forthcoming.
Comment 1 mitz 2007-04-27 10:05:49 PDT
Created attachment 14229 [details]
Fix scheduleRelayout()
Comment 2 mitz 2007-04-27 10:59:29 PDT
Created attachment 14231 [details]
Fix scheduleRelayout()

Corrected a sentence in the change log. Thanks, Mark!
Comment 3 Mark Rowe (bdash) 2007-04-28 00:06:46 PDT
Landed in r21162.