Chromium Code Reviews
Description[LayoutNG] NGInlineLayoutAlgorithm and NGTextLayoutAlgorithm
This patch is an initial try to setup call flows and produces fragment
tree for inline layout, a step towards to NG inline layout to produce
LayoutObject tree.
Most of the necessary logic are still missing. For sizing the block
container, the logic should be shared with NGBlockLayoutAlgorithm using
composition. This will be filled in future patches.
For more steps of inline layout (e.g., line breaking, bidi reordering),
making the fragment tree meaningful, copying the fragment tree to
LayoutObject tree, etc. will be in future patches too.
NGInlineLayoutTest is changed to test the result after layout completes,
as NGInlineBox collects inline text during the layout in this patch.
BUG=636993
Committed: https://crrev.com/73b62a1f1cf86534688657895c781abacfa615c4
Cr-Commit-Position: refs/heads/master@{#437828}
Patch Set 1 #Patch Set 2 : Don't inherit from NGBlockLayoutAlgorithm #
Total comments: 1
Patch Set 3 : Cleanup, fix tests #Patch Set 4 : Resolved merge conflicts #Patch Set 5 : Resolved merge conflicts #
Messages
Total messages: 34 (21 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||