1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 10:28:10 +00:00
serenity/Userland/Libraries/LibWeb
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
..
Bindings LibWeb: Add WebSocket bindings 2021-04-25 19:04:34 +02:00
CodeGenerators LibWeb: Add support for extended attributes on IDL parameters 2021-05-04 22:59:15 +01:00
Cookie Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
CSS LibWeb: Add selector support to the new CSSParser 2021-04-30 08:52:36 +02:00
DOM LibWeb: Use HTML-uppercased qualified name for the Element node name 2021-05-04 23:24:03 +01:00
DumpLayoutTree Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
HighResolutionTime Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
HTML LibWeb: Expose HTMLInputElement.name 2021-05-04 22:03:14 +01:00
Layout LibWeb: Compute intrinsic height of absolute replaced elements 2021-05-04 15:36:07 +01:00
Loader Everywhere: Turn #if *_DEBUG into dbgln_if/if constexpr 2021-05-01 21:25:06 +02:00
NavigationTiming Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
Page LibGfx: Unify Rect, Point, and Size 2021-05-02 22:48:06 +02:00
Painting LibGfx: Unify Rect, Point, and Size 2021-05-02 22:48:06 +02:00
Scripts Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
SVG Userland: Move non-standard math constants from math.h 2021-04-27 23:06:16 +02:00
Tests Everywhere: Fix a bunch of typos 2021-04-18 10:30:03 +02:00
UIEvents AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
XHR AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
CMakeLists.txt Services: Rename ProtocolServer to RequestServer 2021-04-25 19:04:34 +02:00
DOMTreeModel.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
DOMTreeModel.h AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
Dump.cpp LibWeb: Add selector support to the new CSSParser 2021-04-30 08:52:36 +02:00
Dump.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +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: Add WebSocket bindings 2021-04-25 19:04:34 +02:00
InProcessWebView.cpp LibGUI: Rename ScrollableWidget => AbstractScrollableWidget 2021-05-03 21:03:13 +02:00
InProcessWebView.h LibGUI: Rename ScrollableWidget => AbstractScrollableWidget 2021-05-03 21:03:13 +02:00
LayoutTreeModel.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
LayoutTreeModel.h AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +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 Userland: Use snake case names in .ipc files 2021-05-03 21:14:40 +02:00
OutOfProcessWebView.h LibGUI: Rename ScrollableWidget => AbstractScrollableWidget 2021-05-03 21:03:13 +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 Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
StylePropertiesModel.h AK: Rename adopt() to adopt_ref() 2021-04-23 16:46:57 +02:00
TreeNode.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
URLEncoder.cpp Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
URLEncoder.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
WebContentClient.cpp Userland: Use snake case names in .ipc files 2021-05-03 21:14:40 +02:00
WebContentClient.h Userland: Use snake case names in .ipc files 2021-05-03 21:14:40 +02:00
WebViewHooks.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00