LibWeb: Teach more of HTMLTokenizer to stop at the insertion point

In particular, input character lookahead now knows how to stop at the
insertion point marker if needed.

This makes it possible to do amazing things like having document.write()
insert doctypes one character at a time.
This commit is contained in:
Andreas Kling
2024-11-24 10:18:17 +01:00
committed by Andreas Kling
parent 82b540e501
commit 5c70436cb2
Notes: github-actions[bot] 2024-11-24 10:46:43 +00:00
6 changed files with 87 additions and 32 deletions

View File

@@ -6,6 +6,6 @@ Rerun
Found 1 tests
1 Fail
1 Pass
Details
Result Test Name MessageFail document.write
Result Test Name MessagePass document.write

View File

@@ -6,6 +6,6 @@ Rerun
Found 1 tests
1 Fail
1 Pass
Details
Result Test Name MessageFail document.write
Result Test Name MessagePass document.write

View File

@@ -6,6 +6,6 @@ Rerun
Found 1 tests
1 Fail
1 Pass
Details
Result Test Name MessageFail document.write
Result Test Name MessagePass document.write

View File

@@ -6,6 +6,6 @@ Rerun
Found 1 tests
1 Fail
1 Pass
Details
Result Test Name MessageFail document.write
Result Test Name MessagePass document.write