Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<?xml version="1.0" encoding="utf-8"?>
<head>
<script>
customElements.define('custom-el-1',
class extends HTMLElement {
constructor () {
super()
this.attachShadow({ mode: 'open' })
this.shadowRoot.innerHTML = '&lt;span/>'
}
})
</script>
</head>
<body>
<custom-el-1/>