- From: Dmitry IV. <notifications@github.com>
- Date: Fri, 30 Oct 2020 05:54:48 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 30 October 2020 12:55:00 UTC
The problem of the proposed syntax is ambiguity. If no content is present - does it mean that any passed content should be erased? Or preserved instead? ```html <element name="x-x"> </element> <x-x>Some content that should be... erased?</x-x> ``` With `<template>` it is more apparent - if it's present, the content will be replaced with the template content, with regards to shadow-root attribute. -- 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/885#issuecomment-719535224
Received on Friday, 30 October 2020 12:55:00 UTC