Re: [WICG/webcomponents] [declarative-custom-elements] Capabilities needed and open questions (Issue #1009)

Definitions are just that - only definitions. They are not instances. Your example would only create an instance when there's a `<percentage-bar>` element.

`<template shadowrootmode>` does not belong inside a definition. Shadow roots are for instances. A definition would have a plain `<template>` (possibly with a new attribute opting into the expression syntax).

-- 
Reply to this email directly or view it on GitHub:
https://github.com/WICG/webcomponents/issues/1009#issuecomment-1525972441
You are receiving this because you are subscribed to this thread.

Message ID: <WICG/webcomponents/issues/1009/1525972441@github.com>

Received on Thursday, 27 April 2023 16:11:03 UTC