mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibXML: Allow empty pubid when parsing document type
This commit is contained in:
committed by
Ali Mohammad Pur
parent
89192ecc46
commit
1775021d71
Notes:
github-actions[bot]
2024-10-23 19:31:45 +00:00
Author: https://github.com/f-cramer Commit: https://github.com/LadybirdBrowser/ladybird/commit/1775021d712 Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/1897
@@ -0,0 +1,9 @@
|
||||
<script src="../include.js"></script>
|
||||
<script>
|
||||
test(() => {
|
||||
var doc = new DOMParser().parseFromString('<!DOCTYPE html PUBLIC "" "this is the system id"><html><div id="test"/></html>', 'application/xhtml+xml');
|
||||
if (doc.getElementById('test')) {
|
||||
println('PASSED');
|
||||
}
|
||||
});
|
||||
</script>
|
||||
Reference in New Issue
Block a user