- From: Anne van Kesteren <notifications@github.com>
- Date: Mon, 15 Jun 2015 08:25:24 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Monday, 15 June 2015 15:25:51 UTC
I sort of feel like the default parsing should be `<template>`, since that can appear anywhere. Definitely not `<div>`, we don't want to close `<p>` and such. While `<script>` has some complexity, it's not clear to me that introducing a new parser class is better than simply reusing the path `<script>` already takes. I agree that `<template>` inertness is a different feature. Inheritance seems reasonable for that, though might also be composition in part since the parser then puts elements elsewhere. And if `<template>` ever gains data binding you might want all the parsing implications of `<template>`, but not data binding... --- Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/113#issuecomment-112107526
Received on Monday, 15 June 2015 15:25:51 UTC