commit | faf1ec7ca5bc52ab701fbc84595ae4e2b8815eb0 | [log] [tgz] |
---|---|---|
author | Rakina Zata Amni <rakina@chromium.org> | Tue Feb 19 22:48:14 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Feb 19 22:48:14 2019 |
tree | 2af781f67ffe28559434eb8bae697bd8be413a2f | |
parent | 779ddc7a8a2de697d363454d06edc407770e3181 [diff] |
[DL]: Add beforeactivate event & activate locked elements for anchor link nav When anchor link navigation hits an element in an activatable locked subtree, we send beforeactivate events to its locked ancestors and commit them so that we can navigate to the element. The beforeactivate event bubbles up but is not composed (will not go through shadow boundaries), and has the |activatedElement| attribute, which in this case will be the anchor-link-navigated element. See doc: http://bit.ly/2RXULVi Bug: 882663 Change-Id: I3c818b9033e37dbd0db786b2d261a382c0dee414 Reviewed-on: https://chromium-review.googlesource.com/c/1473091 Reviewed-by: Hayato Ito <hayato@chromium.org> Reviewed-by: vmpstr <vmpstr@chromium.org> Reviewed-by: Kent Tamura <tkent@chromium.org> Commit-Queue: Rakina Zata Amni <rakina@chromium.org> Cr-Commit-Position: refs/heads/master@{#633433}
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 .