1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:08:11 +00:00
serenity/Userland/Libraries/LibWeb
Timothy Flynn b67f6daf05 LibWeb: Weakly store NamedNodeMap's & Attribute's associated Element
This is similar to how Gecko avoids a reference cycle, where both the
NamedNodeMap and Attribute would otherwise store a strong reference to
their associated Element. Gecko manually clears stored raw references
when an Element is destroyed, whereas we use weak references to do so
automatically.

Attribute's ownerElement getter and setter are moved out of line to
avoid an #include cycle between Element and Attribute.
2021-10-18 09:58:52 +02:00
..
Bindings LibJS: Convert to_u32() to ThrowCompletionOr 2021-10-18 08:01:38 +03:00
Cookie Everywhere: Make use of container version of all_of 2021-08-03 10:46:43 +02:00
Crypto LibWeb: Add the Web::Crypto namespace, built-in, and getRandomValues 2021-09-30 20:02:09 +02:00
CSS LibWeb: Make the CSS serialization functions actually output things :^) 2021-10-17 19:59:27 +01:00
DOM LibWeb: Weakly store NamedNodeMap's & Attribute's associated Element 2021-10-18 09:58:52 +02:00
DOMParsing LibWeb: Clean up static function in header 2021-10-06 23:52:40 +01:00
DumpLayoutTree LibWeb+WebContent: Port DumpLayoutTree to OutOfProcessWebView 2021-09-08 11:07:14 +02:00
Geometry LibWeb: Add DOMRectReadOnly and make DOMRect inherit from it 2021-10-08 23:00:49 +02:00
HighResolutionTime LibWeb: Provide a default DOM::EventTarget::dispatch_event() 2021-09-25 23:36:43 +02:00
HTML LibWeb: Implement Attribute closer to the spec and with an IDL file 2021-10-17 13:51:10 +01:00
IntersectionObserver LibWeb: Stub out a basic IntersectionObserver interface 2021-10-14 10:32:51 +02:00
Layout LibWeb: Fill page background with the "base" palette color 2021-10-18 03:04:01 +02:00
Loader LibWeb: Resolve cyclic dependency between StyleSheet and ImportRule 2021-10-06 23:52:40 +01:00
NavigationTiming Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Page LibWeb: Remove a bunch of pointless "else" in EventHandler 2021-10-12 14:44:52 +02:00
Painting LibWeb: Implement position:fixed painting at the stacking context level 2021-10-14 23:50:33 +02:00
RequestIdleCallback LibWeb: Add the IdleDeadline interface from the RequestIdleCallback spec 2021-09-17 13:20:18 +02:00
ResizeObserver LibWeb: Stub out a basic ResizeObserver interface 2021-10-11 00:54:01 +02:00
Scripts Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Selection LibWeb: Stub out a basic Selection interface 2021-10-11 00:32:19 +02:00
SVG LibWeb: Start work towards modern CSS "display" values 2021-10-06 19:12:52 +02:00
Tests LibWeb: Add support HTMLScriptElement.supports 2021-09-03 23:11:58 +02:00
UIEvents LibWeb: Change the type of MouseEvent members to double 2021-10-01 20:14:45 +02:00
URL LibWeb: Make the URL.port setter return after assigning the empty string 2021-10-03 21:31:46 +02:00
WebAssembly LibJS: Convert to_u32() to ThrowCompletionOr 2021-10-18 08:01:38 +03:00
XHR LibWeb: Don't send a request body in XMLHttpRequest GET or HEAD 2021-10-04 00:06:48 +02:00
CMakeLists.txt LibWeb: Implement (most of) NamedNodeMap to store attributes 2021-10-17 13:51:10 +01: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: Implement @supports rule :^) 2021-10-08 23:02:57 +02:00
Dump.h LibWeb: Implement @supports rule :^) 2021-10-08 23:02:57 +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: Implement (most of) NamedNodeMap to store attributes 2021-10-17 13:51:10 +01:00
InProcessWebView.cpp LibWeb: Rename HTMLDocumentParser => HTMLParser 2021-09-25 23:36:43 +02:00
InProcessWebView.h LibWeb: Add the Web::URL namespace and move URLEncoder to it 2021-09-13 01:43:10 +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: Fire "keyup" events as well :^) 2021-09-28 16:56:24 +02:00
OutOfProcessWebView.h LibWeb: Fire "keyup" events as well :^) 2021-09-28 16:56:24 +02: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: Allow Document::ref() when ref-count is zero 2021-10-03 16:42:34 +02:00
WebContentClient.cpp LibWeb: Add the Web::URL namespace and move URLEncoder to it 2021-09-13 01:43:10 +02:00
WebContentClient.h LibWeb: Add the Web::URL namespace and move URLEncoder to it 2021-09-13 01:43:10 +02:00
WebViewHooks.h LibWeb: Add missing headers 2021-10-06 23:52:40 +01:00