Open Bug 2008387 Opened 9 months ago Updated 9 months ago

Wrong margin collapsing when changing inline line to non-empty.

Categories

(Core :: Layout: Block and Inline, defect, P3)

defect

Tracking

()

People

(Reporter: emilio, Unassigned)

References

Details

(Keywords: regressionwindow-wanted)

Attachments

(1 file)

Attached file Test-case —

See the test-case, based on layout/reftests/margin-collapsing/dynamic-add-text-1.html

The main difference is whether the white-space text-node gets reframed. It seems the margin collapsing difference is not taken into account and the next line is not properly dirtied.

I'm curious if this is a regression but I suspect not. This came up because dynamic-add-text-1.html fails with a patch of mine simplifying frame construction a bit for bug 2008148. I suspect I accidentally broke some of the white-space optimizations, but this bug exists regardless.

cc :dholbert since you fixed the bug that that test-case refers to (bug 405517).

See Also: → 405517
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: