Return true from IsElementInInvisibleSubTree if root element is not rendered
This can happen if the image is in a frame that is itself invisible, due to for example the <iframe> element owning the Frame being display:none. In such cases the documentElement has no layout. Bug: 1129979 Change-Id: Ic6557c936395ce539be96d255ba4f29a10b5790b Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2444436Reviewed-by:Scott Little <sclittle@chromium.org> Commit-Queue: Chris Harrelson <chrishtr@chromium.org> Cr-Commit-Position: refs/heads/master@{#813217}
Showing
Please register or sign in to comment