Open Bug 534793 Opened 16 years ago Updated 3 years ago

Inconsistent heights with -moz-inline-box, <table style="height: 200%;">

Categories

(Core :: Layout, defect)

x86
macOS
defect

Tracking

()

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: testcase)

Attachments

(2 files)

413 bytes, application/xhtml+xml
Details
322 bytes, application/xhtml+xml
Details
Attached file dynamic
No description provided.
Attached file static
Seems like the second time around, the box's Layout isn't bothering to call Layout() on the table (in a case where that Layout looks like it would produce a different result).
The question is why, in nsSprocketLayout::Layout, NS_SUBTREE_DIRTY(child) was false (such that |layout| could end up false). Probably it got cleared during some of the intrinsic width computation. In other words, this seems like a problem similar to the problems we had within block layout before the reflow branch, when we were trying to use one set of dirty bits but also doing intrinsic size computation using layout. That said, it seems like we really don't need the child to be dirty; we just need to reflow it with the vertical and horizontal resize bits set. (Maybe we should make the intrinsic size computation do another reflow to set the child back to its old state?)
Severity: minor → S4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: