mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
LibWeb: Return base Document for non-HTML parses
The HTML specification does not explicitly require a specific return type for parseFromString(), but according to Web Platform TestsDOMParser-parseFromString.html, the expected return value for XML MIME types is a Document—not an XMLDocument.
This commit is contained in:
Notes:
github-actions[bot]
2025-07-25 16:09:39 +00:00
Author: https://github.com/mikiubo Commit: https://github.com/LadybirdBrowser/ladybird/commit/acf1fe7b052 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/5557 Reviewed-by: https://github.com/ADKaster ✅
@@ -1 +1 @@
|
||||
XMLDocument
|
||||
Document
|
||||
|
||||
Reference in New Issue
Block a user