ladybird/Userland/Libraries/LibWeb/DOM
ronak69 3ff6137121 LibWeb: Insert title as first child on setting title of svg document
Before, the new title element got appended instead of prepended, as
nullptr was passed as the "child" argument to the insert_before()
function.

This change makes two WPT tests pass in:
http://wpt.live/html/dom/documents/dom-tree-accessors/document.title-09.html
2024-10-14 07:13:58 +02:00
..
AbortController.cpp LibWeb: Remove Bindings/Forward.h from LibWeb/Forward.h 2024-04-27 18:29:35 -04:00
AbortController.h LibWeb: Put most LibWeb GC objects in type-specific heap blocks 2023-11-19 22:00:48 +01:00
AbortController.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
AbortSignal.cpp LibWeb: Make DOMException take error message as a String 2024-10-12 21:14:18 +02:00
AbortSignal.h Userland: Add ESCAPING annotations to a bunch of places 2024-05-22 21:55:34 -06:00
AbortSignal.idl LibWeb: Specify the correct argument type in IDL for AbortSignal::any() 2024-05-13 23:45:45 +01:00
AbstractRange.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
AbstractRange.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
AbstractRange.idl IDL: Add missing #imports 2023-11-11 08:51:51 +01:00
AccessibilityTreeNode.cpp LibJS+LibWeb: Use new Cell::Visitor helpers to avoid manual iteration 2024-04-16 07:40:01 +02:00
AccessibilityTreeNode.h LibWeb: Put most LibWeb GC objects in type-specific heap blocks 2023-11-19 22:00:48 +01:00
AdoptedStyleSheets.cpp LibWeb: Make DOMException take error message as a String 2024-10-12 21:14:18 +02:00
AdoptedStyleSheets.h LibWeb: Add styleSheets and adoptedStyleSheets attributes in ShadowRoot 2024-03-09 16:13:32 +01:00
Attr.cpp LibWeb: Remove Bindings/Forward.h from LibWeb/Forward.h 2024-04-27 18:29:35 -04:00
Attr.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Attr.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
BeforeUnloadEvent.cpp LibWeb: Implement BeforeUnloadEvent 2024-10-05 09:17:34 +02:00
BeforeUnloadEvent.h LibWeb: Implement BeforeUnloadEvent 2024-10-05 09:17:34 +02:00
BeforeUnloadEvent.idl LibWeb: Implement BeforeUnloadEvent 2024-10-05 09:17:34 +02:00
CDATASection.cpp LibWeb: Remove Bindings/Forward.h from LibWeb/Forward.h 2024-04-27 18:29:35 -04:00
CDATASection.h LibWeb: Put most LibWeb GC objects in type-specific heap blocks 2023-11-19 22:00:48 +01:00
CDATASection.idl IDL: Add missing #imports 2023-11-11 08:51:51 +01:00
CharacterData.cpp LibWeb: Make DOMException take error message as a String 2024-10-12 21:14:18 +02:00
CharacterData.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
CharacterData.idl LibWeb: Use UTF-16 code unit offsets and lengths in CharacterData 2023-12-23 20:41:41 +01:00
ChildNode.h LibWeb: Fix infinite loop in ChildNode's before() and after() 2024-03-11 18:29:10 +01:00
ChildNode.idl IDL: Add missing #imports 2023-11-11 08:51:51 +01:00
Comment.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Comment.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Comment.idl LibWeb: Port Comment interface from DeprecatedString to String 2023-09-06 11:44:45 -04:00
CustomEvent.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
CustomEvent.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
CustomEvent.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
Document.cpp LibWeb: Insert title as first child on setting title of svg document 2024-10-14 07:13:58 +02:00
Document.h LibWeb: Implement selectionchange event according to spec 2024-10-09 19:08:47 +02:00
Document.idl LibWeb: Support Document.onvisibilitychange 2024-10-08 18:49:11 +02:00
DocumentFragment.cpp LibWeb: Remove Bindings/Forward.h from LibWeb/Forward.h 2024-04-27 18:29:35 -04:00
DocumentFragment.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
DocumentFragment.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
DocumentLoadEventDelayer.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
DocumentLoadEventDelayer.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
DocumentLoading.cpp HTMLEncodingDetection: Use mime type in encoding sniffing 2024-10-12 16:14:38 +02:00
DocumentLoading.h LibWeb+LibURL: Move HTML::Origin to URL::Origin 2024-10-05 10:46:30 +02:00
DocumentObserver.cpp LibWeb: Put most LibWeb GC objects in type-specific heap blocks 2023-11-19 22:00:48 +01:00
DocumentObserver.h LibWeb: Put most LibWeb GC objects in type-specific heap blocks 2023-11-19 22:00:48 +01:00
DocumentOrShadowRoot.idl LibWeb: Add DocumentOrShadowRoot::get_animations() 2024-06-03 10:53:32 +02:00
DocumentType.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
DocumentType.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
DocumentType.idl LibWeb: Expose ChildNode methods on the DocumentType IDL interface 2024-07-19 09:22:08 +02:00
DOMEventListener.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
DOMEventListener.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
DOMImplementation.cpp LibWeb+LibURL: Move HTML::Origin to URL::Origin 2024-10-05 10:46:30 +02:00
DOMImplementation.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
DOMImplementation.idl LibWeb: Make DOMImplementation IDL return an XMLDocument 2024-05-19 16:24:11 +02:00
DOMTokenList.cpp LibWeb: Make DOMException take error message as a String 2024-10-12 21:14:18 +02:00
DOMTokenList.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
DOMTokenList.idl LibWeb: Switch IDL from UseNewAKString to UseDeprecatedAKString 2023-09-02 19:23:41 +01:00
Element.cpp LibWeb: Make DOMException take error message as a String 2024-10-12 21:14:18 +02:00
Element.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Element.idl LibWeb: Implement Element::check_visibility 2024-07-20 09:14:50 +01:00
ElementFactory.cpp LibWeb: Make DOMException take error message as a String 2024-10-12 21:14:18 +02:00
ElementFactory.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Event.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Event.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Event.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
EventDispatcher.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
EventDispatcher.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
EventHandler.idl LibWeb: Emit "focusin" and "focusout" events 2024-02-25 10:17:25 +01:00
EventTarget.cpp LibWeb: Make DOMException take error message as a String 2024-10-12 21:14:18 +02:00
EventTarget.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
EventTarget.idl LibWeb: Switch IDL from UseNewAKString to UseDeprecatedAKString 2023-09-02 19:23:41 +01:00
HTMLCollection.cpp LibWeb: Preserve order of HTMLCollection property names 2024-10-04 22:43:44 +01:00
HTMLCollection.h LibWeb: Preserve order of HTMLCollection property names 2024-10-04 22:43:44 +01:00
HTMLCollection.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
HTMLFormControlsCollection.cpp Bindings: Remove exception handling for named_item_value 2024-07-26 14:26:16 +02:00
HTMLFormControlsCollection.h Bindings: Remove exception handling for named_item_value 2024-07-26 14:26:16 +02:00
HTMLFormControlsCollection.idl LibWeb: Format all .idl files to use four space indentation 2024-01-18 14:00:06 +01:00
IDLEventListener.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
IDLEventListener.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
LiveNodeList.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
LiveNodeList.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
MutationObserver.cpp LibWeb: Remove Bindings/Forward.h from LibWeb/Forward.h 2024-04-27 18:29:35 -04:00
MutationObserver.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
MutationObserver.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
MutationRecord.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
MutationRecord.h LibWeb: Put most LibWeb GC objects in type-specific heap blocks 2023-11-19 22:00:48 +01:00
MutationRecord.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
MutationType.cpp AK: Make "foo"_fly_string infallible 2023-08-07 16:03:27 +02:00
MutationType.h AK: Make "foo"_fly_string infallible 2023-08-07 16:03:27 +02:00
NamedNodeMap.cpp LibWeb: Make DOMException take error message as a String 2024-10-12 21:14:18 +02:00
NamedNodeMap.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
NamedNodeMap.idl LibWeb: Use Optional<FlyString> const& in Element and NamedNodeMap 2024-01-03 10:13:47 +01:00
Node.cpp LibWeb: Make DOMException take error message as a String 2024-10-12 21:14:18 +02:00
Node.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Node.idl LibWeb/DOM: Implement Node.lookupPrefix 2024-07-28 00:51:55 +01:00
NodeFilter.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
NodeFilter.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
NodeFilter.idl IDL: Add missing spec links 2023-11-11 08:51:51 +01:00
NodeIterator.cpp LibWeb: Make DOMException take error message as a String 2024-10-12 21:14:18 +02:00
NodeIterator.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
NodeIterator.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
NodeList.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
NodeList.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
NodeList.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
NodeOperations.cpp Everywhere: Rename {Deprecated => Byte}String 2023-12-17 18:25:10 +03:30
NodeOperations.h LibWeb: Remove DeprecatedString support from {Child,Parent}Node 2023-10-06 08:25:40 +02:00
NonDocumentTypeChildNode.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
NonElementParentNode.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
ParentNode.cpp LibWeb: Make DOMException take error message as a String 2024-10-12 21:14:18 +02:00
ParentNode.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
ParentNode.idl
Position.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Position.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
ProcessingInstruction.cpp LibWeb: Remove Bindings/Forward.h from LibWeb/Forward.h 2024-04-27 18:29:35 -04:00
ProcessingInstruction.h LibWeb: Port ProcessingInstruction from ByteString 2023-12-24 13:26:50 +01:00
ProcessingInstruction.idl
QualifiedName.cpp Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
QualifiedName.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
RadioNodeList.cpp LibWeb: Avoid FlyString lookups when setting IDL interface prototypes 2024-03-16 16:35:54 +01:00
RadioNodeList.h Userland: Add ESCAPING annotations to a bunch of places 2024-05-22 21:55:34 -06:00
RadioNodeList.idl LibWeb: Switch IDL from UseNewAKString to UseDeprecatedAKString 2023-09-02 19:23:41 +01:00
Range.cpp LibWeb: Make DOMException take error message as a String 2024-10-12 21:14:18 +02:00
Range.h LibWeb: Implement selectionchange event according to spec 2024-10-09 19:08:47 +02:00
Range.idl LibWeb: Refactor DOM parsing APIs 2024-06-26 05:41:00 +02:00
ShadowRoot.cpp LibWeb: Rename invalidate_layout() => invalidate_layout_tree() 2024-09-19 10:12:44 +02:00
ShadowRoot.h LibWeb: Implement unsafe HTML parsing methods 2024-06-26 06:13:29 +02:00
ShadowRoot.idl LibWeb: Implement unsafe HTML parsing methods 2024-06-26 06:13:29 +02:00
Slot.cpp LibWeb: Introduce the slot concept for HTML slot elements 2023-09-13 13:45:47 +02:00
Slot.h LibWeb: Introduce the slot concept for HTML slot elements 2023-09-13 13:45:47 +02:00
Slottable.cpp LibWeb: Rename Element::shadow_root_internal() to shadow_root() 2024-06-25 19:22:35 +02:00
Slottable.h LibWeb: Implement manual slottable assignment 2023-09-13 13:45:47 +02:00
Slottable.idl IDL: Add missing #imports 2023-11-11 08:51:51 +01:00
StaticNodeList.cpp Bindings: Implement is_supported_property_index in terms of item_value 2024-07-26 14:26:16 +02:00
StaticNodeList.h Bindings: Implement is_supported_property_index in terms of item_value 2024-07-26 14:26:16 +02:00
StaticRange.cpp LibWeb: Make DOMException take error message as a String 2024-10-12 21:14:18 +02:00
StaticRange.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
StaticRange.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
StyleElementUtils.cpp LibWeb: Let style elements remember which StyleSheetList they live in 2024-09-21 08:56:01 +02:00
StyleElementUtils.h LibWeb: Let style elements remember which StyleSheetList they live in 2024-09-21 08:56:01 +02:00
Text.cpp LibWeb: Make DOMException take error message as a String 2024-10-12 21:14:18 +02:00
Text.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
Text.idl LibWeb: Implement Text.wholeText 2024-07-20 18:02:51 +01:00
TreeWalker.cpp LibWeb: Make DOMException take error message as a String 2024-10-12 21:14:18 +02:00
TreeWalker.h Meta: Update my e-mail address everywhere 2024-10-04 13:19:50 +02:00
TreeWalker.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00
Utils.cpp LibWeb: Replace templated retarget function with a regular one 2024-07-21 16:01:32 -06:00
Utils.h LibWeb: Replace templated retarget function with a regular one 2024-07-21 16:01:32 -06:00
XMLDocument.cpp AK+LibURL: Move AK::URL into a new URL library 2024-03-18 14:06:28 -04:00
XMLDocument.h AK+LibURL: Move AK::URL into a new URL library 2024-03-18 14:06:28 -04:00
XMLDocument.idl LibWeb: Add comments and missing items of various IDL files 2023-10-25 19:45:41 +02:00