- From: Keith Cirkel <notifications@github.com>
- Date: Fri, 08 Nov 2024 08:42:53 -0800
- To: WICG/webcomponents <webcomponents@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 8 November 2024 16:42:57 UTC
@rniwa the constructor functions run though, right? And so `instanceof` checks pass. For example: ```js customElements.define('foo-bar', class extends HTMLElement { constructor() { super() console.log('FooBar element was constructed') } }) let div = document.createElement('div') div.innerHTML = '<foo-bar></foo-bar>' ``` I wrote up some WPTs for this here: https://github.com/web-platform-tests/wpt/pull/46170 -- Reply to this email directly or view it on GitHub: https://github.com/WICG/webcomponents/issues/1078#issuecomment-2465242790 You are receiving this because you are subscribed to this thread. Message ID: <WICG/webcomponents/issues/1078/2465242790@github.com>
Received on Friday, 8 November 2024 16:42:57 UTC