[WICG/webcomponents] Explain the relationship of DOM Parts to XHTML (Issue #1028)

How is the DOM Parts syntax expected to relate to XHTML generally, the notion that the HTML and XHTML serializations of HTML are so close that it's not only feasible to migrate between them but also to pursue a single byte stream having the same meaning as both ("polyglot"), and the notion that the mapping between markup and DOM for XML exists on its own independently of HTML?

( https://github.com/WICG/webcomponents/blob/gh-pages/proposals/DOM-Parts-Declarative-Template.md does not currently explain that currently in the Chromium prototype the proposed DOM Parts syntax is syntactic sugar for creating comment nodes. There is a correspondence between comment nodes and markup syntax for XML independently of HTML.)

That is, how does DOM Parts relate to the [DOM Consistency](https://www.w3.org/TR/html-design-principles/#dom-consistency) Design Principle?

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

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

Received on Wednesday, 13 September 2023 11:31:47 UTC