Re: [webcomponents] More backward-compatible templates

On Wed, Oct 31, 2012 at 7:23 PM, Adam Barth <w3c@adambarth.com> wrote:
> Then maybe I don't understand how parsing will work.  How does the
> parser know when the "Folder i" template stops?  It can't just scan
> ahead for <\/scirpt> if we're using <\/script> to terminate the "Email
> i" template.  Similarly, it can't just match <script> and <\/script>
> tags because then nested templates will parse differently than
> top-level templates...

You'd need to special case nested templates. But you need to do that
anyway as you're inside a <script> element that normally only emits
character data.


-- 
http://annevankesteren.nl/

Received on Wednesday, 31 October 2012 18:28:08 UTC