- From: Joe Pea <notifications@github.com>
- Date: Tue, 08 Apr 2025 10:25:36 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 8 April 2025 17:25:40 UTC
trusktr left a comment (whatwg/dom#1365) There's one more issue that needs to be addressed for DSD to be useful for everyone: both the element tag name, and the template, should be parsed together: Example 1: ```html <my-el> <p> <!-- parser will now instantiate <my-el> because it knows there is no `<template shadowrootmode>` at the top --> ``` Example 2: ```html <my-el> <template shadowrootmode="open"> <!-- parser will now instantiate <my-el> because it knows it has a `<template shadowrootmode>` at the top --> ``` I know that someone will say "this ship has sailed". Can we turn it around? So that we can simplify developer lives for CEs + DSD? I hope we can move forward without making things so complicated for CE users (vanilla web platform users). -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/1365#issuecomment-2787168137 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/dom/issues/1365/2787168137@github.com>
Received on Tuesday, 8 April 2025 17:25:40 UTC