LibWeb: Ensure parser cannot change the mode is handled

This fixes at least 1 wpt bug where text/plain documents are rendered in
quirks mode. The test in question: https://wpt.live/html/browsers/browsing-the-web/read-text/load-text-plain.html
This commit is contained in:
euro20179
2025-09-05 15:17:55 -07:00
committed by Tim Ledbetter
parent 3c6472dc00
commit e442aa6e10
Notes: github-actions[bot] 2025-09-07 10:12:43 +00:00
6 changed files with 71 additions and 3 deletions

View File

@@ -0,0 +1,4 @@
This is a sample text/plain document.
This is not an HTML document.