I have defined a shadow template as follows:
<table id="overviewbox-loadingbox">
<thead>
<tr>
<slot name="table-header"></slot>
</tr>
</thead>
<tbody>
<div id="loadingbox"></div>
</tbody>
</table>
The users are supposed to supply their own <th>s by something like:
<th slot="table-header" data-column_name="description">describing here</th>
However this doesn't work. As soon as I change <th> to <span>, with all other things unchanged, the slotted node shows up. Is this because there is some undocumented quirks about using <th> and <slot> together? Thanks.