Bug 13525

Summary: Repainting a listbox schedules a relayout
Product: WebKit Reporter: mitz
Component: FormsAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 523.x (Safari 3)   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
Fix scheduleRelayout()
none
Fix scheduleRelayout() hyatt: review+

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.