Source code
Revision control
Copy as Markdown
Other Tools
<!DOCTYPE html>
<meta charset="utf-8">
<title>Setting dir attribute on a slot element should not crash</title>
<script>
let slot = document.createElement("slot");
slot.setAttribute("dir", "auto");
</script>