Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- Manifest: dom/html/reftests/reftest.list
<!DOCTYPE html>
<html>
<head class="reftest-wait"></head>
<body>
<div><img src="" alt="ALT"></div>
<script>
var img = document.querySelector('img');
img.remove();
var div = document.querySelector('div');
div.appendChild(img);
</script>
</body>
</html>