Bug 1364144 Comment 4 Edit History

Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.

Layout debugger's paged mode uses `nsPresContext::eContext_PageLayout` [1], so `presContext->IsPaginated()` [2] should be true per [3]. It must be a unconstrained `aReflowInput.availSize.BSize(wm)` that makes `isPaginated` in `nsTableFrame::ReflowChildren()` become false.

[1] https://searchfox.org/mozilla-central/rev/ba4fab1cc2f1c9c4e07cdb71542b8d441707c577/layout/base/nsDocumentViewer.cpp#4056-40573
[2] https://searchfox.org/mozilla-central/rev/ba4fab1cc2f1c9c4e07cdb71542b8d441707c577/layout/tables/nsTableFrame.cpp#2888
[3] https://searchfox.org/mozilla-central/rev/ba4fab1cc2f1c9c4e07cdb71542b8d441707c577/layout/base/nsPresContext.cpp#194
Layout debugger's paged mode uses `nsPresContext::eContext_PageLayout` [1], so `presContext->IsPaginated()` [2] should be true per [3]. It must be an unconstrained `aReflowInput.availSize.BSize(wm)` that makes `isPaginated` in `nsTableFrame::ReflowChildren()` become false.

[1] https://searchfox.org/mozilla-central/rev/ba4fab1cc2f1c9c4e07cdb71542b8d441707c577/layout/base/nsDocumentViewer.cpp#4056-40573
[2] https://searchfox.org/mozilla-central/rev/ba4fab1cc2f1c9c4e07cdb71542b8d441707c577/layout/tables/nsTableFrame.cpp#2888
[3] https://searchfox.org/mozilla-central/rev/ba4fab1cc2f1c9c4e07cdb71542b8d441707c577/layout/base/nsPresContext.cpp#194

Back to Bug 1364144 Comment 4