1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 19:08:10 +00:00
serenity/Userland/Libraries/LibWeb
Luke 5beacf08a2 LibWeb: Make the node mutation algorithms more spec compliant
The mutation algorithms now more closely follow the spec and
fixes some assertion failures in tests such as Acid3 and Dromaeo.

The main thing that is missing right now is passing exceptions to the
bindings layer. This is because of issue #6075. I spent a while trying
to work it out and got so frustrated I just left it as a FIXME. Besides
that, the algorithms bail at the appropriate points.

This also makes the adopting steps in the document more spec compliant
as it's needed by the insertion algorithm. While I was at it, I added
the adoptNode IDL binding.

This adds a bunch of ancestor/descendant checks to TreeNode as well.
I moved the "remove_all_children" function to Node as it needs to use
the full remove algorithm instead of simply removing it from
the child list.
2021-04-06 21:42:00 +02:00
..
Bindings LibWeb: Add ProcessingInstruction node 2021-04-06 21:42:00 +02:00
CodeGenerators LibWeb: Support the "ImplementedAs" IDL attribute on functions 2021-04-06 21:42:00 +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: Make the node mutation algorithms more spec compliant 2021-04-06 21:42:00 +02:00
DumpLayoutTree Everywhere: Remove klog(), dbg() and purge all LogStream usage :^) 2021-03-12 17:29:37 +01:00
HighResolutionTime LibWeb: Stub out the PerformanceTiming object from Navigation Timing 2021-01-18 15:11:20 +01:00
HTML LibWeb: Rename "for_each_in_subtree(_of_type)" to "for_each_in_inclusive_subtree(_of_type)" 2021-04-06 21:42:00 +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 LibWeb: Stub out the PerformanceTiming object from Navigation Timing 2021-01-18 15:11:20 +01: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 Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01: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 LibWeb: Make the node mutation algorithms more spec compliant 2021-04-06 21:42:00 +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