1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-09 17:44:56 +09:00
ladybird/Tests/LibWeb/Text/input/DOM/CDATASection-assignedSlot.html
2025-03-20 11:50:49 +01:00

10 lines
349 B
HTML

<!DOCTYPE html>
<script src="../include.js"></script>
<script>
test(() => {
const xmlDocument = new DOMParser().parseFromString(`<xml></xml>`, "application/xml");
const cdata = xmlDocument.createCDATASection("Test CDATA");
const assignedSlot = cdata.assignedSlot;
println("PASS (didn't crash)")
});
</script>