Open Bug 1582634 Opened 6 years ago Updated 3 years ago

Use Document::GetRootElement to get the implicit root for IntersectionObserver

Categories

(Core :: DOM: Core & HTML, defect, P3)

defect

Tracking

()

People

(Reporter: hiro, Unassigned)

Details

here. I did use rootFrame->GetContent()->AsElement() to get the implicit root, but it just works if there is the corresponding presshell and the root frame. Using Document::GetRootElement gives us the root element even if it's in display:none subtree or some such.

Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.