mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
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:
Notes:
github-actions[bot]
2025-09-07 10:12:43 +00:00
Author: https://github.com/Euro20179 🔰 Commit: https://github.com/LadybirdBrowser/ladybird/commit/e442aa6e10a Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6093 Reviewed-by: https://github.com/tcl3 ✅
4
Tests/LibWeb/Text/input/wpt-import/common/text-plain.txt
Normal file
4
Tests/LibWeb/Text/input/wpt-import/common/text-plain.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
This is a sample text/plain document.
|
||||
|
||||
This is not an HTML document.
|
||||
|
||||
Reference in New Issue
Block a user