1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 14:38:11 +00:00
serenity/Tests/LibWeb/Text/input
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
..
css LibWeb: Don't assume opacity values are CSS numbers 2023-07-31 09:16:18 +02:00
hit_testing LibWeb: Add hit testing API in internals object 2023-08-09 17:26:44 +02:00
HTML Tests/LibWeb: Add standard built-in objects test for structuredClone() 2023-07-29 17:24:39 +02:00
Streams Tests/LibWeb: Verify setting {readable,writable}Type throws RangeError 2023-07-15 11:59:39 +02:00
TextDecoder LibWeb: Make 'optional BufferSource' IDL arguments actually optional 2023-05-30 12:50:13 +02:00
URL AK: Fix IPv6 serialization on multiple '0' parts ending in a '0' part 2023-08-06 10:53:32 +02:00
append-child-must-update-layout-tree.html LibWeb: Invalidate the layout tree on DOM node insertion 2023-06-06 09:06:27 +02:00
background-position-xy.html LibWeb: Create EdgeStyleValue for BackgroundPositionXY with no offset 2023-07-17 14:53:52 +01:00
basic.html Tests/LibWeb: Use the include.js helper in "basic.html" 2023-05-28 22:03:57 +02:00
body-background-color-red.css LibWeb: Forward media attribute from link element to loaded style sheet 2023-06-11 06:05:03 +02:00
html-parser-text-in-table-hoisting.html LibWeb: Make HTML parser flush all pending tokens in "in table text" 2023-07-03 11:50:58 +02:00
include.js LibWeb: Make resolved serialization of CSS display prefer short form 2023-05-27 16:43:35 +02:00
internals.html LibWeb: Add a simple internals objects only available during testing 2023-08-06 15:26:34 +02:00
link-element-media-attribute.html LibWeb: Forward media attribute from link element to loaded style sheet 2023-06-11 06:05:03 +02:00
link-element-onload-attribute.html LibWeb: Allow event handler attributes on HTMLLinkElement 2023-06-06 09:06:27 +02:00
link-element-rel-preload-load-event.html LibWeb: Fire "load" and "error" events for rel=preload link loads 2023-06-06 09:06:27 +02:00
link-element-search.html LibWeb: Fix typo in query of link element search params 2023-08-14 16:26:34 +02:00
scripted-dom-insertion-during-html-parse.html LibWeb: Don't overwrite existing text content when flushing HTML parser 2023-08-16 12:16:05 +02:00
setting-display-none-should-nuke-subtree.html LibWeb: Detach stale layout nodes from DOM during layout tree build 2023-08-01 09:19:41 +02:00
title.html LibWeb: Implement the document title attribute closer to the spec 2023-06-08 07:21:08 +02:00
url-search-params-iterator-iterator.html LibWeb: Don't override prototype on generated iterator prototypes 2023-06-08 10:05:56 +02:00
valid.css LibWeb: Fire "load" and "error" events for rel=preload link loads 2023-06-06 09:06:27 +02:00
window-proxy-numeric-own-property.html LibWeb: Implement basic support for window[number] 2023-07-25 15:45:44 +02:00
window-proxy-property-inline-cache.html LibWeb: Don't cache property accesses on WindowProxy 2023-07-11 00:14:50 +02:00