-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
All Jiron documents could be complete HTML5 documents, and only attached to the parent document in iFrames. This would allow Jiron to support all the same affordances that any other HTML document can, including elements that can only exist in the head element. It would also provide some code safety for code on demand, and styling encapsulation for CSS.
The HTML link tag (a good way to identify a rel="self, canonical" link) can only appear in the document head. Jiron could change that rule and allow it to appear in the body. Deserialization to HTML could move all link tags into the head while the HTML is still in a documentFragment, detached from the DOM.
Future
Web components for encapsulation?