Closed Bug 115352 Opened 24 years ago Closed 24 years ago

document.height/width's getters need to flush the parent as well as the document itself.

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla0.9.9

People

(Reporter: jst, Assigned: jst)

Details

(Whiteboard: [HAVE FIX])

Attachments

(1 file, 1 obsolete file)

If a iframe is resized from script and then the iframe document's height or width is requested the iframe document needs to flush pending reflows in all parents to ensure that the iframe is the correct size. Patch coming up.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.8
Comment on attachment 61801 [details] [diff] [review] Ensure iframe parents are flushed when iframe document geometry is calculated (and do some rendom cleanup too) Um, never mind, there's a smarter way to do this that will fix the same problem in more cases.
Attachment #61801 - Attachment is obsolete: true
Attachment #61801 - Flags: needs-work+
Whiteboard: [HAVE FIX]
Target Milestone: mozilla0.9.8 → mozilla0.9.9
Comment on attachment 61812 [details] [diff] [review] Better patch, flush on a document will flush the parent if there is one to make sure everything works in r=peterv
Attachment #61812 - Flags: review+
Comment on attachment 61812 [details] [diff] [review] Better patch, flush on a document will flush the parent if there is one to make sure everything works in rpotts says sr=rpotts.
Attachment #61812 - Flags: superreview+
Fixed.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: