commit | 4035752bd4fb0eb73c152f6ca0c761d85a82139f | [log] [tgz] |
---|---|---|
author | Koji Ishii <kojii@chromium.org> | Tue Apr 10 08:30:04 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Apr 10 08:30:04 2018 |
tree | dc8b1aa628012c7652d9a136c2f5ef8672629b67 | |
parent | 1a7a790f61da211c5db56e3c5b6c8e7d9b001ef1 [diff] |
Abstract AXLayoutObject::CanIgnoreSpaceNextTo reading InlineTextBox CL:988375 fixed AXLayoutObject::CanIgnoreSpaceNextTo by accessing LayoutText::First/LastTextBox() directly. Since these functions will be gone in LayoutNG, this patch abstracts what it does and hide InlineTextBox inside of LayoutText. Actual implementation of these functions for LayoutNG will be done after CL:986982 adds retrieval of NGInlineItem. It's possible with NGOffsetMapping or NGPhysicalFragment, but NGInlineItem would be better fit. Bug: 821906, 636993, 830546 Change-Id: If590e8c01e59d58b0f77ba6b3f57e35e9c29acb3 Reviewed-on: https://chromium-review.googlesource.com/997912 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by: Emil A Eklund <eae@chromium.org> Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org> Cr-Commit-Position: refs/heads/master@{#549451}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .