forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[LayoutNG] Add initial support for collecting atomic inlines
Change NGInlineBox::PrepareLayout to collect all child nodes instead of just non-atomic inlines and update the CollectNode method to insert the object replacement unicode character in place of atomic inline objects. This allows bidi resolution and text shaping to do the right thing when operating on the entire paragraph. Also removes the ComputedStyle pointer from NGLayoutInlineItem as it is not needed at this point. R=ikilpatrick@chromium.org BUG=636993 TEST=Source/web/tests/NGInlineLayoutTest.cpp Review-Url: https://codereview.chromium.org/2488163003 Cr-Commit-Position: refs/heads/master@{#431214}
- Loading branch information
Showing
3 changed files
with
60 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters