1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-09 09:34:57 +09:00
ladybird/Userland/Libraries/LibWeb
Timothy Flynn faebbbc281 LibWeb: Move the navigable's cursor position to be owned by the document
Navigables are re-used for navigations within the same tab. Its current
ownership of the cursor position is a bit ad-hoc, so nothing in the spec
indicates when to reset the cursor, nor do we manually do so. So when a
cursor update happens on one page, that cursor is retained on the next
page.

Instead, let's have the document own the cursor. Each navigation results
in a new document, thus we don't need to worry about resetting cursors.

This also makes many of the callsites feel nicer. We were previously
often going from the node, to the document, to the navigable, to the
cursor. This patch removes the navigable hop.
2024-08-02 18:40:39 +02:00
..
Animations LibWeb: Enable fast path of animation invalidation for pseudo-elements 2024-08-02 08:05:31 +02:00
ARIA
Bindings Bindings: Avoid second property index lookup for platform objects 2024-07-26 14:26:16 +02:00
Clipboard LibWeb: Implement Blob::bytes() 2024-07-26 10:21:32 +02:00
Cookie LibWeb: Prefix AK::Duration with AK Namespace 2024-07-18 09:43:38 +01:00
Crypto LibWeb: Implement KeyAlgorithms for big-endian 2024-07-10 10:23:26 -06:00
CSS LibWeb: Add slots for pseudo-elements animation cache in Animatable 2024-08-02 08:05:31 +02:00
DOM LibWeb: Move the navigable's cursor position to be owned by the document 2024-08-02 18:40:39 +02:00
DOMParsing LibWeb: Refactor DOM parsing APIs 2024-06-26 05:41:00 +02:00
DOMURL LibWeb: Implement Blob::bytes() 2024-07-26 10:21:32 +02:00
Encoding LibTextCodec: Fix ISO-8859-1 vs. windows-1252 handling in web contexts 2024-06-04 10:21:07 +02:00
Fetch LibWeb/Fetch: Don’t cache redirects 2024-08-01 11:39:27 +02:00
FileAPI Bindings: Implement is_supported_property_index in terms of item_value 2024-07-26 14:26:16 +02:00
Geometry Bindings: Implement is_supported_property_index in terms of item_value 2024-07-26 14:26:16 +02:00
HighResolutionTime LibWeb: Implement Performance.toJSON 2024-07-17 18:19:09 +01:00
HTML LibWeb: Move the navigable's cursor position to be owned by the document 2024-08-02 18:40:39 +02:00
IndexedDB LibWeb: Implement IDBRequest.onerror 2024-06-22 14:57:47 +02:00
Infra AK+LibWeb: Replace our home-grown base64 encoder/decoders with simdutf 2024-07-16 10:27:39 +02:00
Internals LibWeb: Add Internals.middleClick 2024-06-22 14:57:36 +02:00
IntersectionObserver LibWeb: Use 'FIXME' extended attribute where possible 2024-05-19 16:24:11 +02:00
Layout LibWeb: Add additional padding to the end of the scrollable overflow 2024-08-02 08:07:56 +02:00
Loader LibWeb: Use "en" as a fallback when setting preferred languages 2024-07-27 08:18:16 +02:00
MathML LibJS+LibWeb: Fix a ton of JS_CELL-like macro issues 2024-05-30 09:29:20 -06:00
MimeSniff LibWeb/MimeSniff: Implement "minimize a supported MIME type" 2024-05-19 16:25:50 +02:00
MixedContent LibWeb: Avoid null dereference when performing mixed content checks 2024-06-14 07:52:18 +02:00
NavigationTiming LibWeb: Remove Bindings/Forward.h from LibWeb/Forward.h 2024-04-27 18:29:35 -04:00
Page LibWeb: Move the navigable's cursor position to be owned by the document 2024-08-02 18:40:39 +02:00
Painting LibWeb: Move the navigable's cursor position to be owned by the document 2024-08-02 18:40:39 +02:00
PerformanceTimeline LibJS+LibWeb: Use new Cell::Visitor helpers to avoid manual iteration 2024-04-16 07:40:01 +02:00
PermissionsPolicy
Platform LibWeb: Prefix AK::Duration with AK Namespace 2024-07-18 09:43:38 +01:00
ReferrerPolicy LibWeb: Do not release_value twice parsing a referrer policy 2024-06-09 07:02:59 +01:00
RequestIdleCallback LibWeb: Remove Bindings/Forward.h from LibWeb/Forward.h 2024-04-27 18:29:35 -04:00
ResizeObserver LibWeb: Remove Bindings/Forward.h from LibWeb/Forward.h 2024-04-27 18:29:35 -04:00
SecureContexts LibWeb: Consider resource: URLs to be trustworthy and non-opaque 2024-06-26 12:15:33 -06:00
Selection LibWeb: Don't try to set selection with anchor/focus in different roots 2024-07-20 06:41:25 +02:00
SRI
Streams LibWeb: Align transform_stream_error_writable_and_unblock_write w/ spec 2024-07-12 08:28:35 -04:00
SVG LibWeb: Make DisplayList ref-counted 2024-07-25 14:33:33 +02:00
UIEvents LibWeb: Define a helper constant for the platform ctrl-ish key 2024-08-02 08:07:00 +02:00
UserTiming
WebAssembly LibWasm: Clean up module sections API 2024-08-01 11:44:07 +02:00
WebAudio WebAudio: Stub remainder of AudioBufferSourceNode 2024-07-28 21:41:15 +02:00
WebDriver LibWeb: Prefix AK::Duration with AK Namespace 2024-07-18 09:43:38 +01:00
WebGL LibWeb/WebGL: Stub missing properties in WebGLRenderingContextBase 2024-07-23 09:04:57 +02:00
WebIDL LibWeb: WebIDL::OverloadResolution, minor code streamlining 2024-07-24 11:23:58 +02:00
WebSockets LibWeb: Implement Blob::bytes() 2024-07-26 10:21:32 +02:00
Worker LibWeb+WebWorker: Add IPC messages to request and communicate shutdown 2024-07-10 07:04:53 +02:00
XHR LibWeb: Implement formData() method steps for x-www-form-urlencoded 2024-07-23 09:02:21 +02:00
XLink
XML LibWeb: Execute the correct script in XMLDocumentBuilder::element_end() 2024-07-25 15:05:28 +02:00
CMakeLists.txt LibWeb: Inline apply_backdrop_filter function into paint_backdrop_filter 2024-07-29 17:48:56 +02:00
Dump.cpp LibWeb: Implement the :has() pseudo-class 2024-07-15 11:52:03 +01:00
Dump.h
Forward.h LibWeb: Implement DOMStringList 2024-07-29 11:19:00 +02:00
idl_files.cmake LibWeb: Implement DOMStringList 2024-07-29 11:19:00 +02:00
Namespace.cpp
Namespace.h
PixelUnits.cpp
PixelUnits.h
TraversalDecision.h LibWeb: Use TraversalDecision for multi level Node traversal methods 2024-05-07 16:45:28 -06:00
TreeNode.h Everywhere: Remove usages of template keyword with no parameter list 2024-06-16 07:19:56 -04:00