1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 17:28:11 +00:00
serenity/Userland/Libraries/LibWeb
Sam Atkins 57371f7608 LibWeb: Implement Window.scroll() and Window.scrollBy() JS methods
... and `Window.scrollTo()`, which is an alias for `scroll()`.

There is still work that needs to be done here, regarding bringing the
scroll position calculation in line with the spec. Currently we get the
viewport rect from outside, and treat it as if it was the result of
calculating steps 5-9 of the `scroll()` method. But it works. :^)
2021-09-11 15:51:05 +01:00
..
Bindings LibWeb: Implement Window.scroll() and Window.scrollBy() JS methods 2021-09-11 15:51:05 +01:00
Cookie Everywhere: Make use of container version of all_of 2021-08-03 10:46:43 +02:00
CSS LibWeb: Add DOM::Window::page() 2021-09-09 21:25:10 +02:00
DOM LibWeb: Add naive support for the Document.referrer attribute 2021-09-11 14:10:11 +02:00
DumpLayoutTree LibWeb+WebContent: Port DumpLayoutTree to OutOfProcessWebView 2021-09-08 11:07:14 +02:00
HighResolutionTime LibWeb: Rename DOM::Window::document() => associated_document() 2021-09-09 21:25:10 +02:00
HTML LibWeb+LibJS: Remember source filenames when using HTML::Script 2021-09-11 00:36:37 +02:00
Layout LibWeb: Rename InitialContainingBlockBox => InitialContainingBlock 2021-09-08 11:27:46 +02:00
Loader LibWeb: Rename BrowsingContext::document() => active_document() 2021-09-09 21:25:10 +02:00
NavigationTiming Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Page LibWeb: Implement Window.scroll{X,Y} JS properties 2021-09-11 15:51:05 +01:00
Painting LibWeb: Rename InitialContainingBlockBox => InitialContainingBlock 2021-09-08 11:27:46 +02:00
Scripts Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
SVG LibWeb: Ignore svg elements outside of <svg> when building layout tree 2021-08-05 20:17:08 +02:00
Tests LibWeb: Add support HTMLScriptElement.supports 2021-09-03 23:11:58 +02:00
UIEvents AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
WebAssembly LibJS+LibWeb+Spreadsheet: Upcall visit_edges() via Base typedef 2021-09-11 14:10:11 +02:00
XHR LibWeb: Rename Document::complete_url() => parse_url() 2021-09-09 21:25:10 +02:00
CMakeLists.txt LibWeb: Start working on spec-aligned HTML scripting semantics 2021-09-09 21:25:10 +02:00
DOMTreeModel.cpp LibWeb: Implement DOMTreeModel::index_for_node() 2021-09-02 22:16:41 +02:00
DOMTreeModel.h LibWeb: Implement DOMTreeModel::index_for_node() 2021-09-02 22:16:41 +02:00
Dump.cpp LibWeb: Fix dump_selector() handling of attribute selectors 2021-07-31 00:18:11 +02:00
Dump.h LibWeb: Convert CSS Dump, Selector, & SelectorEngine to east const 2021-07-14 13:31:00 +02:00
FontCache.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
FontCache.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Forward.h LibWeb: Schedule HTML::EventLoop processing when there are queued tasks 2021-09-09 02:30:53 +02:00
InProcessWebView.cpp LibWeb: Rename BrowsingContext::document() => active_document() 2021-09-09 21:25:10 +02:00
InProcessWebView.h LibWeb: Rename InitialContainingBlockBox => InitialContainingBlock 2021-09-08 11:27:46 +02:00
LayoutTreeModel.cpp LibWeb: Rename InitialContainingBlockBox => InitialContainingBlock 2021-09-08 11:27:46 +02:00
LayoutTreeModel.h Everywhere: Replace Model::update() with Model::invalidate() 2021-08-06 19:14:31 +02:00
Namespace.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Namespace.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Origin.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
OutOfProcessWebView.cpp LibWeb+WebContent: Add WebContentClient::did_request_scroll_to() call 2021-09-11 15:51:05 +01:00
OutOfProcessWebView.h LibWeb+WebContent: Add WebContentClient::did_request_scroll_to() call 2021-09-11 15:51:05 +01:00
QualifiedName.h LibWeb: Use HTML-uppercased qualified name for the Element node name 2021-05-04 23:24:03 +01:00
StylePropertiesModel.cpp Everywhere: Use my shiny new serenityos.org email :^) 2021-09-03 12:22:36 +02:00
StylePropertiesModel.h Everywhere: Use my shiny new serenityos.org email :^) 2021-09-03 12:22:36 +02:00
TreeNode.h LibWeb: Add preceding and following Node cases in tree constraints 2021-09-07 22:06:39 +02:00
URLEncoder.cpp LibWeb: Use correct percent encode set for form submissions 2021-06-01 23:26:03 +04:30
URLEncoder.h LibWeb: Use correct percent encode set for form submissions 2021-06-01 23:26:03 +04:30
WebContentClient.cpp LibWeb+WebContent: Add WebContentClient::did_request_scroll_to() call 2021-09-11 15:51:05 +01:00
WebContentClient.h LibWeb+WebContent: Add WebContentClient::did_request_scroll_to() call 2021-09-11 15:51:05 +01:00
WebViewHooks.h LibWeb+WebContent: Remove old console-logging IPC calls 2021-09-06 18:20:26 +02:00