I can see that being potentially useful indeed.
> How do you generally propose such ideas the the WHATWG / W3C ?
The first and most important thing is to write down the problem or use case that your proposal addresses (in this case, frequently written code that could be less complex and error-prone). Your chances of changing things are much higher with a clearly described problem and a bad solution proposal than with a great technical solution but poor reasons as to why it should exist in the first place.
The right place for such a proposal would be public-...@w3.org (http://lists.w3.org/Archives/Public/public-webapps/).
--
Robin Berjon
Robineko (http://robineko.com/)
Twitter: @robinberjon
You would want something like this to work:
new DocumentFragment("<td>hi</td>")
even though tds are only allowed inside of a tr. This would
dramatically simplify code in libraries (like jQuery) that allow you
to create a DOM fragment from a String and insert it anywhere.
I would be interested in working with you to help develop this
proposal and put you in touch with the right folks.
Email me :)
Sent from my iPhone