commit | b96172f2ed1872a1429efced02d31ef25dcbcdd0 | [log] [tgz] |
---|---|---|
author | Vladimir Levin <vmpstr@chromium.org> | Tue Jan 29 19:30:19 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Jan 29 19:30:19 2019 |
tree | 8cf4b1bcd1d3a7d43125c916790e7816e9deb229 | |
parent | 0d68d023c9e10816366e22639b37d8a0ff58c754 [diff] |
[DL]: Prevent anchor link navigation on locked elements. This patch renames IsDisplayLockedForFocus into DisplayLockPreventsDiscoverability. Also uses this function to prevent anchor link and manual js scrollIntoView() from scrolling to elements in a locked subtree. R=chrishtr@chromium.org Bug: 882663 Change-Id: I1f45900d012d682bfb57b9c92cbb1739471bca84 Reviewed-on: https://chromium-review.googlesource.com/c/1435709 Reviewed-by: Chris Harrelson <chrishtr@chromium.org> Commit-Queue: vmpstr <vmpstr@chromium.org> Cr-Commit-Position: refs/heads/master@{#627104}
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 .