1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-16 08:22:24 +00:00
serenity/Userland/Libraries/LibWeb
Brian Gianforcaro 988c23fff0 LibWeb: Add implementation of Node.compareDocumentPosition()
While looking into getting Duck Duck Go loading further in the
Browser, I noticed that it was complaining about the missing
method Node.compareDocumentPosition.

This change implements as much of the DOM spec as possible
with the current implementation of the DOM to date. The
implementation is validated by new tests in the Node.js.
2021-04-11 09:40:06 +02:00
..
Bindings AK+Everywhere: Make StdLibExtras templates less wrapper-y 2021-04-10 21:01:31 +02:00
CodeGenerators LibWeb: Support nullable EventListener parameters in WrapperGenerator 2021-04-10 21:00:04 +02:00
CSS LibWeb: Rename "for_each_in_subtree(_of_type)" to "for_each_in_inclusive_subtree(_of_type)" 2021-04-06 21:42:00 +02:00
DOM LibWeb: Add implementation of Node.compareDocumentPosition() 2021-04-11 09:40:06 +02:00
DumpLayoutTree Everywhere: Remove klog(), dbg() and purge all LogStream usage :^) 2021-03-12 17:29:37 +01:00
HighResolutionTime AK+Everywhere: Make StdLibExtras templates less wrapper-y 2021-04-10 21:01:31 +02:00
HTML LibWeb: Implement "select" portion of reset_the_insertion_mode_appropriately 2021-04-06 23:47:05 +02:00
Layout LibWeb: Rename "for_each_in_subtree(_of_type)" to "for_each_in_inclusive_subtree(_of_type)" 2021-04-06 21:42:00 +02:00
Loader LibWeb: Pass optional status code to ResourceLoader callbacks 2021-04-03 16:34:34 +02:00
NavigationTiming AK+Everywhere: Make StdLibExtras templates less wrapper-y 2021-04-10 21:01:31 +02:00
Page LibWeb: Make the node mutation algorithms more spec compliant 2021-04-06 21:42:00 +02:00
Painting LibWeb: Don't hit test a stacked child if it is behind its parent 2021-03-31 23:53:15 +02:00
Scripts Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
SVG Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
Tests LibWeb: Add implementation of Node.compareDocumentPosition() 2021-04-11 09:40:06 +02:00
UIEvents LibWeb: Dispatch "resize" events on the Window object 2021-03-16 18:10:21 +01:00
XHR LibWeb: Implement XMLHttpRequest.getResponseHeader() 2021-04-03 16:34:34 +02:00
CMakeLists.txt LibWeb: Add ProcessingInstruction node 2021-04-06 21:42:00 +02:00
DOMTreeModel.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
DOMTreeModel.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Dump.cpp LibWeb: Support the :last-of-type CSS selector :^) 2021-04-06 13:06:42 +02:00
Dump.h LibWeb: Rename StyleRule => CSSStyleRule 2021-03-07 17:45:15 +01:00
FontCache.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
FontCache.h Libraries: Add missing headers 2021-01-22 21:49:54 +01:00
Forward.h LibWeb: Add ProcessingInstruction node 2021-04-06 21:42:00 +02:00
InProcessWebView.cpp LibWeb: Make tiled backgrounds scroll with content 2021-03-07 13:49:20 +01:00
InProcessWebView.h LibWeb+WebContent: Keep track of screen rect 2021-04-04 00:37:54 +02:00
LayoutTreeModel.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
LayoutTreeModel.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Namespace.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Namespace.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Origin.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
OutOfProcessWebView.cpp LibWeb+WebContent: Keep track of screen rect 2021-04-04 00:37:54 +02:00
OutOfProcessWebView.h LibWeb+WebContent: Keep track of screen rect 2021-04-04 00:37:54 +02:00
QualifiedName.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
StylePropertiesModel.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
StylePropertiesModel.h Libraries: Add missing headers 2021-01-22 21:49:54 +01:00
TreeNode.h AK+Everywhere: Make StdLibExtras templates less wrapper-y 2021-04-10 21:01:31 +02:00
URLEncoder.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
URLEncoder.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
WebContentClient.cpp LibWeb+WebContent: Support displaying tooltips in OOPWV 2021-03-30 21:21:17 +02:00
WebContentClient.h LibWeb+WebContent: Support displaying tooltips in OOPWV 2021-03-30 21:21:17 +02:00
WebViewHooks.h LibWeb: Add in all of the plumbing required to use the JS console over IPC 2021-02-28 15:30:17 +01:00