ladybird/Userland/Libraries/LibWeb/HTML/Parser
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
..
Entities.cpp Everywhere: Use nested namespace qualifiers 2023-07-12 10:05:42 +03:30
Entities.h Everywhere: Use nested namespace qualifiers 2023-07-12 10:05:42 +03:30
HTMLEncodingDetection.cpp LibJS: Make Heap::allocate<T>() infallible 2023-08-13 15:38:42 +02:00
HTMLEncodingDetection.h
HTMLParser.cpp LibWeb: Don't overwrite existing text content when flushing HTML parser 2023-08-16 12:16:05 +02:00
HTMLParser.h
HTMLToken.cpp
HTMLToken.h Everywhere: Use AK_MAKE_DEFAULT_MOVABLE to avoid mistakes 2023-06-18 08:47:51 +01:00
HTMLTokenizer.cpp
HTMLTokenizer.h
ListOfActiveFormattingElements.cpp
ListOfActiveFormattingElements.h
StackOfOpenElements.cpp
StackOfOpenElements.h