Current discussion is pivoting toward this GroupNodes variant/alternative which looks and feels way easier to reason about and implement, it's just a "special fragment" weakly bound to its surrounding comments.
Currently a polyfill for the WHATWG proposal.
Live test with 100% code coverage and a global dpf
usable at the end of the test.
This is most likely going to change, don't use this in prod.