Re: [w3c/webcomponents] [templates] How to handle expressions in tables (#703)

That problem can be addressed purely symptomatically with a couple of strong heuristics.
1. If there's insertion `{{ }}` right before the _empty_ table, almost likely it was intended to be inside but parser hoisted it up.
2. If the insertion `{{ }}` contains `<tbody>, <tr>, <th>` etc. - most surely it was supposed to reside in the `<table>`.
These two conditions I believe exclude practical chance user meant to place `<tr>` or `<thead>` right before the empty `<table>`.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/703#issuecomment-716053781

Received on Saturday, 24 October 2020 20:54:52 UTC