-
Oriol Brufau authored
When navigating to #foo, the element with id="foo" is scrolled into view and is focused if focusable. This patch makes it receive the caret too, in case caret browsing is enabled. Bug: 1011934 TEST=editing/caret/caret-browsing-fragment-anchor.html Change-Id: I044e6b48545426afdb0c5ee766d4ee3a218aa95b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2463308 Commit-Queue: Oriol Brufau <obrufau@igalia.com> Reviewed-by:
danakj <danakj@chromium.org> Reviewed-by:
David Bokan <bokan@chromium.org> Reviewed-by:
Yoshifumi Inoue <yosin@chromium.org> Cr-Commit-Position: refs/heads/master@{#843064}
cb8c6e7f