1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:08:11 +00:00
serenity/Userland/Libraries/LibWeb
Andreas Kling e2740bd19d LibWeb: Don't overwrite existing text content when flushing HTML parser
If we run an inline script from the HTML parser, it may append a text
node to the current insertion point.

If there was text content immediately following the script element,
we would previously overwrite the script-inserted text content, due to
an oversight in the way we select an appropriate insertion point

This patch fixes the issue by only inserting parser content into
existing text nodes if they are empty.
2023-08-16 12:16:05 +02:00
..
ARIA Userland: Prefer _string over _short_string 2023-08-08 07:37:21 +02:00
Bindings LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
Cookie Userland: Remove remaining users of Duration::now_realtime() 2023-05-24 23:18:07 +02:00
Crypto LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
CSS LibWeb: Fix crash parsing an invalid pseudo compound selector 2023-08-14 11:43:57 +01:00
DOM AK: Port URL::m_fragment from DeprecatedString to String 2023-08-13 15:03:53 -06:00
DOMParsing LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
Encoding LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
Fetch AK: Port URL::m_fragment from DeprecatedString to String 2023-08-13 15:03:53 -06:00
FileAPI LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
Geometry LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
HighResolutionTime LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
HTML LibWeb: Don't overwrite existing text content when flushing HTML parser 2023-08-16 12:16:05 +02:00
Infra LibJS: Make PrimitiveString::utf8_string() infallible 2023-08-09 17:09:16 +02:00
Internals LibWeb: Add hit testing API in internals object 2023-08-09 17:26:44 +02:00
IntersectionObserver LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
Layout LibWeb: Make HTMLElement.offset{Left,Top} work on inline elements 2023-08-15 16:37:11 +02:00
Loader LibWeb: Add directory entries page when visiting a local directory 2023-08-15 10:41:54 +01:00
MathML LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
MimeSniff Everywhere: Remove unused DeprecatedString includes 2023-04-09 22:00:54 +02:00
NavigationTiming LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
Page AK: Port URL::m_fragment from DeprecatedString to String 2023-08-13 15:03:53 -06:00
Painting LibWeb: Rename PaintableBox::effective_offset() => offset() 2023-08-15 16:37:11 +02:00
PerformanceTimeline LibJS: Make Cell::initialize() return void 2023-08-08 07:39:11 +02:00
PermissionsPolicy LibWeb+LibWebView+WebContent: Add APIs to manage an autoplay allowlist 2023-04-18 16:30:02 +02:00
Platform LibWeb/Ladybird: Use the abstract audio output in a new audio plugin 2023-08-04 13:49:36 -06:00
ReferrerPolicy AK: Port URL username/password from DeprecatedString to String 2023-08-13 15:03:53 -06:00
RequestIdleCallback LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
ResizeObserver LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
Scripts LibWeb: Escape quotes in style sheet sources 2023-08-12 07:59:23 +01:00
SecureContexts AK: Serialize URL hosts with 'concept-host-serializer' 2023-07-31 05:18:51 +02:00
Selection LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
SRI LibWeb: Implement integrity-metadata part of fetch algorithm 2023-04-21 20:44:47 +01:00
Streams LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
SVG AK: Port URL::m_fragment from DeprecatedString to String 2023-08-13 15:03:53 -06:00
Tests Everywhere: Rename WrapperGenerator to BindingsGenerator 2022-09-21 23:06:08 +01:00
UIEvents LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
URL AK: Port URL::m_fragment from DeprecatedString to String 2023-08-13 15:03:53 -06:00
UserTiming LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
WebAssembly LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
WebAudio LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
WebDriver LibJS: Make PrimitiveString::deprecated_string() infallible 2023-08-09 17:09:16 +02:00
WebGL LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
WebIDL LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
WebSockets AK: Port URL::m_fragment from DeprecatedString to String 2023-08-13 15:03:53 -06:00
XHR AK: Port URL username/password from DeprecatedString to String 2023-08-13 15:03:53 -06:00
XML LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
CMakeLists.txt LibWeb: Add directory entries page when visiting a local directory 2023-08-15 10:41:54 +01:00
Dump.cpp LibWeb: Make :host() take a <compound-selector> 2023-08-12 16:26:32 +02:00
Dump.h LibWeb: Rough implementation of CSS namespace rule 2023-07-30 20:27:19 +01:00
FontCache.cpp LibWeb: Scale the font when painting the text on buttons 2023-03-15 23:29:00 +01:00
FontCache.h LibWeb: Scale the font when painting the text on buttons 2023-03-15 23:29:00 +01:00
Forward.h LibWeb: Add the MathML Element 2023-08-12 07:59:23 +01:00
idl_files.cmake LibWeb: Add the MathML Element 2023-08-12 07:59:23 +01:00
Namespace.cpp AK: Make "foo"_fly_string infallible 2023-08-07 16:03:27 +02:00
Namespace.h AK: Make "foo"_fly_string infallible 2023-08-07 16:03:27 +02:00
PixelUnits.cpp LibWeb: Inline and constexpr most PixelUnits methods 2023-08-05 20:03:09 +02:00
PixelUnits.h LibWeb: Allow direct rouding of CSSPixelRects to CSSPixelRects 2023-08-10 12:24:21 +02:00
TreeNode.h LibJS+LibWeb: Move headers around to allow including Value from Cell 2023-01-29 00:02:45 +00:00