Making Paragraph node a line breaking object in PDF
UI Automation APIs ExpandToEnclosingUnit() and Move() for TextUnit Paragraph is giving wrong output for PDF. It is not able to correctly identify paragraph boundary because kIsLineBreakingObject attribute is not set for Paragraph nodes in PDF. The fix is to set kIsLineBreakingObject as true for Paragraph nodes. Bug: 1025170 Change-Id: Ife69fc0646f1709d21c7a9fcc392524912a1988d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1921929Reviewed-by:Lei Zhang <thestig@chromium.org> Reviewed-by:
Kevin Babbitt <kbabbitt@microsoft.com> Commit-Queue: Mansi Awasthi <maawas@microsoft.com> Cr-Commit-Position: refs/heads/master@{#716898}
Showing
Please register or sign in to comment