mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 18:17:45 +00:00
LibWeb: Stub out a basic IntersectionObserver interface
Note there are a couple of type differences between the spec and the IDL file added in this commit. For example, we will need to support a type of Variant to handle spec types such as "(double or sequence<double>)". But for now, this allows web pages to construct an IntersectionObserver with any valid type.
This commit is contained in:
parent
ff66218631
commit
ebe704a03d
7 changed files with 131 additions and 2 deletions
|
@ -188,7 +188,8 @@ set(SOURCES
|
|||
HTML/WebSocket.cpp
|
||||
HighResolutionTime/Performance.cpp
|
||||
InProcessWebView.cpp
|
||||
Layout/BlockContainer.cpp
|
||||
IntersectionObserver/IntersectionObserver.cpp
|
||||
Layout/BlockContainer.cpp
|
||||
Layout/BlockFormattingContext.cpp
|
||||
Layout/Box.cpp
|
||||
Layout/BoxModelMetrics.cpp
|
||||
|
@ -472,6 +473,7 @@ libweb_js_wrapper(HTML/PromiseRejectionEvent)
|
|||
libweb_js_wrapper(HTML/SubmitEvent)
|
||||
libweb_js_wrapper(HTML/WebSocket)
|
||||
libweb_js_wrapper(HighResolutionTime/Performance)
|
||||
libweb_js_wrapper(IntersectionObserver/IntersectionObserver)
|
||||
libweb_js_wrapper(NavigationTiming/PerformanceTiming)
|
||||
libweb_js_wrapper(RequestIdleCallback/IdleDeadline)
|
||||
libweb_js_wrapper(ResizeObserver/ResizeObserver)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue