[w3c/webcomponents] [templates] Maybe each {{ ~ }} should be its own text node? (#683)

> When a single text node contains multiple {{ ~ }}, these nodes previousSibling and nextSibling may refer to nodes in the preceding or the succeeding part.

If we just made each one its own text node, that would make replacement a lot simpler to reason about, and make previousSibling/nextSibling fairly intuitive, IMO.

I guess this would be a HTML parser change, though. Just a small one......

-- 
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/683

Received on Thursday, 2 November 2017 04:27:49 UTC