Introduce NGPhysicalTextFragment::IsGeneratedText()
This patch introduces |NGPhysicalTextFragment::IsGeneratedText()| with |NGTextType::kGeneratedText| to distinguish between normal text and generated text, e.g. hyphen and ellipsis, for sorting fragments with |StartOffset()|. This patch is a preparation of the patch[1]. [1] http://crrev.com/c/1114673 Make Element#innerText specification compliant Bug: 859410 Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng Change-Id: Ic9879985d1b5dd4cab921ce042ebc393043e3166 Reviewed-on: https://chromium-review.googlesource.com/1122061 Commit-Queue: Yoshifumi Inoue <yosin@chromium.org> Reviewed-by:Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#572478}
Showing
Please register or sign in to comment