Skip to content

Conversation

@nt1m
Copy link
Member

@nt1m nt1m commented Oct 18, 2023

element.checkVisibility() checks against CSS properties, which apply on the flat tree, not the shadow-including tree.

Fixes #9486

…nt.checkVisibility()

`element.checkVisibility()` checks against CSS properties, which apply on the flat tree, not the shadow-including tree.

Fixes #9486
@nt1m nt1m merged commit 0d9927d into main Oct 18, 2023
@nt1m nt1m deleted the nt1m-patch-1 branch October 18, 2023 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[cssom-view] element.checkVisibility() should query the flat tree not shadow-including ancestors

3 participants