dom: Stub out the IntersectionObserver interface (#33989)

This is the first step toward implementing the IntersectionObserver
interface. It adds stubs which are exposed when a preference is turned
on. This is enough to get some sites with `IntersectionObserver` to
start working.

Signed-off-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
Martin Robinson 2024-10-25 02:26:47 -07:00 committed by GitHub
parent 1624530ffe
commit 3b5dc069ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 354 additions and 0 deletions

View file

@ -445,6 +445,8 @@ pub mod iirfilternode;
pub mod imagebitmap;
pub mod imagedata;
pub mod inputevent;
pub mod intersectionobserver;
pub mod intersectionobserverentry;
pub mod keyboardevent;
pub mod location;
pub mod mediadeviceinfo;