Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[cssom-view] Use flat tree instead of shadow-including tree for element.checkVisibility() #9488

Merged
merged 1 commit into from
Oct 18, 2023

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
1 check passed
@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
2 participants