1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-12 23:20:59 +00:00
serenity/Userland
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
..
Applets LibGUI: Remove Menu::try_add_action() 2023-08-14 14:57:54 +02:00
Applications LibGUI+Userland: Remove Toolbar::try_add_{action,separator}() 2023-08-15 15:56:34 +02:00
BuggieBox Userland: Pretty print the help text in BuggieBox 2023-08-09 02:10:02 +02:00
Demos LibGUI: Remove Window::try_add_menu() 2023-08-14 14:57:54 +02:00
DevTools LibGUI+Userland: Remove Toolbar::try_add_{action,separator}() 2023-08-15 15:56:34 +02:00
DynamicLoader Everywhere: Resolve conflicts with LibC and libc++ 2023-06-27 12:40:38 +02:00
Games LibGUI+Userland: Remove Toolbar::try_add_{action,separator}() 2023-08-15 15:56:34 +02:00
Libraries LibWeb: Don't overwrite existing text content when flushing HTML parser 2023-08-16 12:16:05 +02:00
Services LibGUI: Remove Menu::try_add_submenu() 2023-08-14 14:57:54 +02:00
Shell Shell: Add builtin command to reset the internal state 2023-08-11 18:48:53 +03:30
Utilities Meta+Tests: Add a fuzzer and a test for the ILBM decoder 2023-08-15 18:36:11 +01:00
CMakeLists.txt Userland: Add the BuggieBox program 2022-11-26 12:41:47 -07:00