I'm submitting a bug report
- Library Version:
1.10.1 and later (have not tested before)
Please tell us about your environment:
-
Operating System:
Windows 10
-
JSPM OR Webpack AND Version
webpack-cli 3.1.2
-
Browser:
Tested in Chrome
-
Language:
all
Current behavior:
When using <tr as-element="custom-element"> inside a table, where the custom element starts by requiring other resources, the actual rendering is broken.
Given
...app.html
<template>
<table>
<tr as-element="custom-row"></tr>
</table>
</template>
...custom-row.html
<template>
<require from="./custom-element.html></require>
<td>1</td>
</template>
Gets rendered as:
<table>
<tr>1</tr>
</table>
Note how the td element is missing. When I remove the from custom-row.html- or when I place the inside the td element, things work as expected.
See: https://gist.run/?id=a5c449b7a1900f729cc36a97003c70bd
Expected/desired behavior:
In above example, I would have expected
<table>
<tr><td>1</td></tr>
</table>
I'm submitting a bug report
1.10.1 and later (have not tested before)
Please tell us about your environment:
Operating System:
Windows 10
JSPM OR Webpack AND Version
webpack-cli 3.1.2
Browser:
Tested in Chrome
Language:
all
Current behavior:
When using
<tr as-element="custom-element">inside a table, where the custom element starts by requiring other resources, the actual rendering is broken.Given
Gets rendered as:
Note how the td element is missing. When I remove the from custom-row.html- or when I place the inside the td element, things work as expected.
See: https://gist.run/?id=a5c449b7a1900f729cc36a97003c70bd
Expected/desired behavior:
In above example, I would have expected