1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:58:11 +00:00
serenity/Userland/Libraries/LibWeb/DOM
Luke 19731fc14c LibWeb: Use HTML-uppercased qualified name for the Element node name
For regular elements, this is just the qualified name.
However, for HTML elements in HTML documents, it is the qualified name
uppercased.

This is used by jQuery to determine the document is an HTML document.
Not having this made jQuery assume the document was XML, causing
weird behaviour.

To do this, an internal string of qualified name is created.
This is to prevent constantly regenerating it. This is allowed by
the spec.

This is the same for the HTML-uppercased qualified name.
2021-05-04 23:24:03 +01:00
..
Attribute.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CharacterData.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CharacterData.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CharacterData.idl Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Comment.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Comment.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Comment.idl Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Document.cpp LibJS+LibWeb: Move exception logging and remove should_log_exceptions 2021-04-24 20:11:04 +02:00
Document.h AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
Document.idl LibWeb: Implement document.anchors 2021-04-22 22:14:55 +02:00
DocumentFragment.cpp LibWeb+HackStudio: Use lukew@serenityos.org for my copyright headers 2021-04-22 23:15:33 +02:00
DocumentFragment.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
DocumentFragment.idl LibWeb: Move element_child_count to ParentNode and add its IDL attribute 2021-04-11 18:32:42 +02:00
DocumentType.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
DocumentType.h LibWeb: Add createDocument and createDocumentType for DOMImplementation 2021-05-04 22:59:15 +01:00
DocumentType.idl Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
DOMException.h AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
DOMException.idl LibWeb: Add support for optional default values and optional bools in IDL 2021-04-11 18:27:52 +02:00
DOMImplementation.cpp LibWeb: Add createDocument and createDocumentType for DOMImplementation 2021-05-04 22:59:15 +01:00
DOMImplementation.h LibWeb: Add createDocument and createDocumentType for DOMImplementation 2021-05-04 22:59:15 +01:00
DOMImplementation.idl LibWeb: Add createDocument and createDocumentType for DOMImplementation 2021-05-04 22:59:15 +01:00
Element.cpp LibWeb: Use HTML-uppercased qualified name for the Element node name 2021-05-04 23:24:03 +01:00
Element.h LibWeb: Use HTML-uppercased qualified name for the Element node name 2021-05-04 23:24:03 +01:00
Element.idl LibWeb: Implement a slow but functional HTMLCollection :^) 2021-04-22 21:21:46 +02:00
ElementFactory.cpp AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
ElementFactory.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Event.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Event.h AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
Event.idl LibWeb: Add Event.initEvent 2021-04-11 18:27:52 +02:00
EventDispatcher.cpp LibJS: Add VM::on_call_stack_emptied callback 2021-04-24 20:11:04 +02:00
EventDispatcher.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
EventListener.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
EventListener.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
EventTarget.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
EventTarget.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
EventTarget.idl Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ExceptionOr.h Everywhere: Use linusg@serenityos.org for my copyright headers 2021-04-22 22:51:19 +02:00
HTMLCollection.cpp LibWeb: Implement a slow but functional HTMLCollection :^) 2021-04-22 21:21:46 +02:00
HTMLCollection.h AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
HTMLCollection.idl LibWeb: Implement a slow but functional HTMLCollection :^) 2021-04-22 21:21:46 +02:00
Node.cpp LibWeb: Use node_to_insert instead of node in Node::insert_before 2021-05-03 08:20:02 +02:00
Node.h LibWeb: Expose Node.ownerDocument 2021-05-02 22:51:46 +02:00
Node.idl LibWeb: Expose Node.ownerDocument 2021-05-02 22:51:46 +02:00
NonDocumentTypeChildNode.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
NonElementParentNode.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ParentNode.cpp LibWeb+HackStudio: Use lukew@serenityos.org for my copyright headers 2021-04-22 23:15:33 +02:00
ParentNode.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Position.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Position.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ProcessingInstruction.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ProcessingInstruction.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ProcessingInstruction.idl LibWeb: Add ProcessingInstruction node 2021-04-06 21:42:00 +02:00
Range.cpp AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
Range.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Range.idl LibWeb: Add constructor to Range IDL interface 2021-02-17 23:45:07 +01:00
ShadowRoot.cpp AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
ShadowRoot.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
ShadowRoot.idl Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Text.cpp AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
Text.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Text.idl Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Timer.cpp AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
Timer.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Window.cpp LibJS: Add VM::on_call_stack_emptied callback 2021-04-24 20:11:04 +02:00
Window.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00