- From: Caridy Patiño <notifications@github.com>
- Date: Fri, 03 Nov 2017 17:29:31 +0000 (UTC)
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 3 November 2017 17:29:57 UTC
I don't think this is an option. Too much ambiguity with HTML semantics, e.g.: are elements siblings? what is the parent-child relationship of elements when they have a `<if>` in between? Are those new elements inert? Can I use global html attributes on those inert elements? can I query them? `<else>` is even more complicated and error prompt. what if there are elements between the `if` and the `else`? what if there are comments, or empty nodes? This doesn't really work without adding a bunch of new semantics to the HTML structure. On the other hand, `<template>` is already special, and in the future it might be extensible via custom directives. Let's stick to that for anything that is inert. -- 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/695#issuecomment-341773140
Received on Friday, 3 November 2017 17:29:57 UTC