mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-19 15:32:31 +00:00
LibXML: Allow empty systemid when parsing document type
This fixes at least one WPT under /domparsing
This commit is contained in:
parent
7372b2af48
commit
89192ecc46
Notes:
github-actions[bot]
2024-10-23 19:31:51 +00:00
Author: https://github.com/f-cramer 🔰
Commit: 89192ecc46
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1897
4 changed files with 14 additions and 4 deletions
|
@ -0,0 +1,9 @@
|
|||
<script src="../include.js"></script>
|
||||
<script>
|
||||
test(() => {
|
||||
var doc = new DOMParser().parseFromString('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" ""><html><div id="test"/></html>', 'application/xhtml+xml');
|
||||
if (doc.getElementById('test')) {
|
||||
println('PASSED');
|
||||
}
|
||||
});
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue