haikuwebkit/LayoutTests/fast/dom/HTMLAnchorElement/remove-rel-attribute.html

15 lines
459 B
HTML

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<script src="../../../resources/js-test-pre.js"></script>
</head>
<body>
<a id=target href="http://www.webkit.org" rel=noreferrer>WebKit</a>
<script>
description("Verify that removing the \"rel\" attribute from an anchor element does not cause a crash.")
document.getElementById('target').removeAttribute('rel');
</script>
<script src="../../../resources/js-test-post.js"></script>
</body>
</html>