Gecko:Continuation Model: Difference between revisions

Jump to navigation Jump to search
m
→‎Overflow Container Continuations: - update nsContainerFrame.h link to use mozilla-central
m (→‎Reflow statuses: - Update nsIFrame link to point to mozilla-central source.)
m (→‎Overflow Container Continuations: - update nsContainerFrame.h link to use mozilla-central)
Line 50: Line 50:
=== Overflow Container Continuations ===
=== Overflow Container Continuations ===


Sometimes the content of a frame needs to break across pages even though the frame itself is complete. This usually happens if an element with fixed height has overflow that doesn't fit on one page. In this case, the completed frame is "overflow incomplete", and special continuations are created to hold its overflow. These continuations are called "overflow containers". They are invisible, and are kept on a special list in their parent. See documentation in [http://lxr.mozilla.org/seamonkey/source/layout/generic/nsContainerFrame.h nsContainerFrame.h] and example trees in [https://bugzilla.mozilla.org/show_bug.cgi?id=379349#c3 bug 379349 comment 3].
Sometimes the content of a frame needs to break across pages even though the frame itself is complete. This usually happens if an element with fixed height has overflow that doesn't fit on one page. In this case, the completed frame is "overflow incomplete", and special continuations are created to hold its overflow. These continuations are called "overflow containers". They are invisible, and are kept on a special list in their parent. See documentation in [http://mxr.mozilla.org/mozilla-central/source/layout/generic/nsContainerFrame.h nsContainerFrame.h] and example trees in [https://bugzilla.mozilla.org/show_bug.cgi?id=379349#c3 bug 379349 comment 3].


This infrastructure was extended in [https://bugzilla.mozilla.org/show_bug.cgi?id=154892 bug 154892] to also manage continuations for absolutely-positioned frames.
This infrastructure was extended in [https://bugzilla.mozilla.org/show_bug.cgi?id=154892 bug 154892] to also manage continuations for absolutely-positioned frames.
Confirmed users
489

edits

Navigation menu