ProjectEvergreen / wcc

Experimental native Web Components compiler.
https://merry-caramel-524e61.netlify.app
90 stars 7 forks source link

feature/issue 154 light DOM children aka HTML web components #155

Closed thescientist13 closed 1 month ago

thescientist13 commented 7 months ago

Related Issue

resolves #154

Summary of Changes

  1. Support preservation of nested Light DOM content (HTML Web Components) and add test cases
  2. Document HTML Web Components example

TODO

  1. [x] create a sandbox version / validate for standards compliance (this is allowed, right? 😅 )
  2. [x] basic test case
  3. [x] downstream testing
  4. [x] Clean up console log / debugging

Additional use cases to validate?

  1. [x] Needs to be recursive
  2. [ ] Needs to handle duplicate content - why?
  3. [x] Needs to handle self closing tags
  4. [ ] handle all node types - not sure what else to support...