commit | 77b4785efb3a0174520d1665fcad6b8fb9cf0388 | [log] [tgz] |
---|---|---|
author | Vladimir Levin <vmpstr@chromium.org> | Tue May 14 21:38:22 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue May 14 21:38:22 2019 |
tree | 97fc3b0070f1399ab3ebadae9ff040e826fead20 | |
parent | 5c6d022db6307aeda3fe4e9e487575a3f9cade12 [diff] |
DL: Ensure to not not process innerText queries on locked subtrees. This patch skips innerText processing for elements that are either display locked, or are inside a locked subtree. This is due to the fact that display locked subtrees are not painted and so should behave in the same way as visibility hidden (or display none elements). This also ensures that we don't access text nodes when they have not been laid out, which is possible in display locking. This causes CHECKs with LayoutNG. R=chrishtr@chromium.org, rakina@chromium.org, xiaochengh@chromium.org Bug: 962569 Change-Id: I0f286b7ea55e72baada3d9f2c10f4ea693e268d0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1609666 Commit-Queue: vmpstr <vmpstr@chromium.org> Reviewed-by: Xiaocheng Hu <xiaochengh@chromium.org> Cr-Commit-Position: refs/heads/master@{#659664}
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 .