You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[PEPC] Use negative margin param of intersection observe
This CL refines intersection observer set up by focusing on the target's
content area, which is usually smaller than its bounding rectangle.
Instead of forcing a 4px margin, we're now using -4px margin to the
target, so any overlap within that 4px padding is tolerant. Occlusion
status will only be impacted if the inner rect is actually occluded.
Change-Id: Ifb4a46a32059fe487a370282592ab8a896573d31
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6467575
Reviewed-by: Stefan Zager <szager@chromium.org>
Reviewed-by: Andy Paicu <andypaicu@chromium.org>
Commit-Queue: Thomas Nguyen <tungnh@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1467495}
0 commit comments