Geometry: Ensure to check for infinite "other" clip rect in FloatClipRect.
Since the infinite float clip rect is actually pretty small (it's on the order of 10s of millions), due to fixed point math in layout unit, it can cause clips on other rects that are computed elsewhere, such as IntersectionObserver. This can cause bugs (see referenced bug) where unclipped elements are treated as clipped by the intersection observer. R=chrishtr@chromium.org, szager@chromium.org Bug: 1004196 Change-Id: Ia3e5d483cded6153ff546289fbc762b6e8922bc3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1825579Reviewed-by:Chris Harrelson <chrishtr@chromium.org> Reviewed-by:
Stefan Zager <szager@chromium.org> Commit-Queue: vmpstr <vmpstr@chromium.org> Cr-Commit-Position: refs/heads/master@{#700259}
Showing
Please register or sign in to comment