Skip to content

Intersection checks in IntersectionObserver should use ink overflow rect as the intersection rect #522

@khushalsagar

Description

@khushalsagar

Forking from w3c/csswg-drafts#7758 (comment). The algorithm here uses the result of getBoundingClientRect() as the element's box to intersect against. It should be the element's ink overflow rect instead so expansion from properties like box-shadow, filter is included in calculating the element's visibility.

@szager-chromium

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions