[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 Review-Url: https://codereview.chromium.org/2551793002 Cr-Commit-Position: refs/heads/master@{#437828}
Showing
Please register or sign in to comment