mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:28:12 +00:00
LibWeb: Add initial implementation of IntersectionObserver
The main missing features are rootMargin, proper nested browsing context support and content clip/clip-path support. This makes images appear on some sites, such as YouTube and howstuffworks.com.
This commit is contained in:
parent
6f8afd8cd9
commit
165abafb80
16 changed files with 664 additions and 22 deletions
|
@ -38,6 +38,9 @@ public:
|
|||
// https://w3c.github.io/FileAPI/#fileReadingTaskSource
|
||||
FileReading,
|
||||
|
||||
// https://www.w3.org/TR/intersection-observer/#intersectionobserver-task-source
|
||||
IntersectionObserver,
|
||||
|
||||
// Some elements, such as the HTMLMediaElement, must have a unique task source per instance.
|
||||
// Keep this field last, to serve as the base value of all unique task sources.
|
||||
UniqueTaskSourceStart,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue