[NGFragmentItem] Create NGFragmentItems in NGPhysicalBoxFragment
This patch implements more of |NGFragmentItemsBuilder|, so that |NGFragmentItems| are created and stored to |NGPhysicalBoxFragment|, except out-of-flow objects. Not all necessary changes are in yet, but instantiations of most objects and call flows are in place. The new code still relies on |NGPhysicalLineBoxFragment| and |NGPhysicalTextFragment|. |NGFragmentItem| is supposed to deprecate them, but eliminating them is not very easy. After some experiments, I'm planning to create |NGFragmentItem| first from these fragments, but plan to eliminate them as the code grows. |NGPhysicalTextFragment| is probably easy, but |NGPhysicalLineBoxFragment| may take a while as it is used for communication and propagation between |NGBlockLayoutAlgorithm| and |NGInlineLayoutAlgorithm|. Bug: 982194 Change-Id: Icc2d4716d4c351bd3b8810fbeac77ba48c118d3d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1739033 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by:Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by:
Yoshifumi Inoue <yosin@chromium.org> Reviewed-by:
Emil A Eklund <eae@chromium.org> Cr-Commit-Position: refs/heads/master@{#685449}
Showing
Please register or sign in to comment