DescriptionAdd out-of-flow objects under the inline in a continuation chain, when possible.
The same goes for floating objects. Only when a floating or out-of-flow
positioned object is to be added between two block-level children should we add
it to the anonymous block box holding the block-level children. If the new
child is to be added before a block-level child, and this beforeChild is the
first block-level child, we should rather make the new child the last child of
the preceding inline, rather than the first child of the anonymous block
containing block-level children.
Also cleaned up and documented the code somewhat.
BUG=689643
Review-Url: https://codereview.chromium.org/2698243002
Cr-Commit-Position: refs/heads/master@{#451525}
Committed: https://chromium.googlesource.com/chromium/src/+/77ec19ddefb32688cd18277ed7412531b536401a
Patch Set 1 #Patch Set 2 : cleanup #
Messages
Total messages: 16 (10 generated)
|