mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
LibWeb: Always flush character insertions before exiting HTML parser
This fixes an issue where document.write() with only text input would leave all the character data as unflushed text in the parser. This fixes many of the WPT tests for document.write().
This commit is contained in:
committed by
Andreas Kling
parent
089139f09d
commit
a0ed12e839
@@ -0,0 +1 @@
|
||||
PASS
|
||||
@@ -0,0 +1,6 @@
|
||||
<script src="../include.js"></script>
|
||||
<script>
|
||||
test(() => {
|
||||
document.write("PASS");
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user