ladybird/Userland/Libraries/LibWeb
Andreas Kling 92bc3d200d LibWeb: Fix incorrectly offset root intersection rectangle for Document
When the intersection root is a Document, we use the viewport itself as
the root intersection rectangle. However, we should only use the size of
the viewport and strip away the current scroll offset.

This is important, as intersections are computed using viewport-relative
element rects, so we're already in a coordinate system where (0, 0) is
the top left of the scrolled viewport.

This fixes an issue where IntersectionObservers would fire at entirely
wrong scroll offsets. :^)
2023-07-11 10:03:49 +02:00
..
ARIA Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
Bindings LibWeb+LibJS: Move some code around to make CSS/Parser parse faster 2023-07-11 09:38:37 +03:30
Cookie
Crypto Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
CSS LibWeb: Fix a spec link in CSS/Parser 2023-07-11 09:38:37 +03:30
DOM LibWeb+LibJS: Move some code around to make CSS/Parser parse faster 2023-07-11 09:38:37 +03:30
DOMParsing
Encoding Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
Fetch LibWeb: Update workarounds for the empty execution context stack 2023-07-06 15:18:50 -04:00
FileAPI LibWeb: Update workarounds for the empty execution context stack 2023-07-06 15:18:50 -04:00
Geometry LibWeb: Implement DOMRect(ReadOnly)#fromRect 2023-07-07 05:27:25 +02:00
HighResolutionTime
HTML LibWeb+LibJS: Move some code around to make CSS/Parser parse faster 2023-07-11 09:38:37 +03:30
Infra
IntersectionObserver LibWeb: Fix incorrectly offset root intersection rectangle for Document 2023-07-11 10:03:49 +02:00
Layout LibWeb: Fix flex & abspos alignment issues 2023-07-10 20:57:49 +02:00
Loader Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
MimeSniff
NavigationTiming
Page LibWeb: Update workarounds for the empty execution context stack 2023-07-06 15:18:50 -04:00
Painting LibWeb+LibJS: Move some code around to make CSS/Parser parse faster 2023-07-11 09:38:37 +03:30
PerformanceTimeline
PermissionsPolicy
Platform AudioServer+Userland: Decouple client sample rates from device rate 2023-07-01 23:27:24 +01:00
ReferrerPolicy
RequestIdleCallback
ResizeObserver
Scripts
SecureContexts
Selection
SRI
Streams LibWeb: Add ReadableStreamGetReaderOptions to ReadableStream.getReader 2023-07-05 23:33:20 +01:00
SVG LibWeb: Rename DOM::Element::parse_attribute() => attribute_changed() 2023-07-03 19:04:45 +02:00
Tests
UIEvents LibWeb: Implement KeyboardEvent.location closer to the spec 2023-07-09 06:32:20 +02:00
URL LibWeb: Implement Web::URL::url_encode closer to spec 2023-06-25 11:28:32 +02:00
UserTiming
WebAssembly
WebAudio Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
WebDriver Everywhere: Remove 'clang-format off' comments that are no longer needed 2023-07-08 10:32:56 +01:00
WebGL
WebIDL LibWeb+LibJS: Move some code around to make CSS/Parser parse faster 2023-07-11 09:38:37 +03:30
WebSockets Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
XHR Everywhere: Remove needless trailing semi-colons after functions 2023-07-08 10:32:56 +01:00
XML
CMakeLists.txt LibWeb: Move some static functions from CSS/Parser.cpp into a new file 2023-07-11 09:38:37 +03:30
Dump.cpp LibWeb: Parse CSS :host selector 2023-07-05 12:42:02 +02:00
Dump.h
FontCache.cpp
FontCache.h
Forward.h LibWeb: Add initial implementation of IntersectionObserver 2023-07-07 05:27:25 +02:00
idl_files.cmake LibWeb: Add initial implementation of IntersectionObserver 2023-07-07 05:27:25 +02:00
Namespace.cpp
Namespace.h
PixelUnits.h LibWeb+WebContent: Forbid access to underlying type of CSSPixels 2023-06-13 06:08:27 +02:00
TreeNode.h