SubtreeVisibility: don't activate on scrollIntoView().
As part of the resolution from https://github.com/WICG/display-locking/issues/139 we decided that we should use the contained size information when determining what to scroll into view. In the code, this means we shouldn't activate the element on scrollIntoView and rely on viewport intersection instead. Note that hidden-matchable now (correctly) doesn't unhide. R=chrishtr@chromium.org Change-Id: I9336868ddace68b85e6da4b99ad02ad2f9aa1314 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2109815Reviewed-by:Dominic Mazzoni <dmazzoni@chromium.org> Reviewed-by:
Chris Harrelson <chrishtr@chromium.org> Commit-Queue: vmpstr <vmpstr@chromium.org> Cr-Commit-Position: refs/heads/master@{#752068}
Showing
Please register or sign in to comment