Skip to content

Truly independent web browser

426 B
Raw Blame
<!DOCTYPE html>
<script src="../include.js"></script>
<math>
    <a id="target" href="http://example.com">Link to somewhere</a>
</math>
<script>
    test(() => {
        println(`<a> tag inside <math> is: ${target.constructor.name}`);
        println(`Its href is: ${target.href}`);
        target.removeAttribute("href");
        println(`Its href after removing the href attribute is: "${target.href}"`);

    });
</script>