Implement fallback to element anchor
If we parse a TextFragmentAnchor but don't find a match, we should fallback to matching the element anchor, if there is one. Example: https://spaceplace.nasa.gov/blue-sky/en/#similar##targetText=notamatch Bug: 992522 Change-Id: Ie6dd2a4f5b35a612d563a3acb81392df756ce1d2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1746210 Commit-Queue: Nick Burris <nburris@chromium.org> Reviewed-by:David Bokan <bokan@chromium.org> Cr-Commit-Position: refs/heads/master@{#690845}
Showing
Please register or sign in to comment