Re: [webcomponents] Template element parser changes => Proposal for adding DocumentFragment.innerHTML

On Thu, May 10, 2012 at 3:33 PM, Ian Hickson <ian@hixie.ch> wrote:
>
>  On Thu, 10 May 2012, Scott González wrote:
> > Why is simplicity not enough of an answer?
>
> It's a fine answer. But I don't think magical APIs are simple. Simplicity
> in this case IMHO argues for explicitly selected context.
>

I don't think authors think like that. Most of them don't even understand
that they need a context element to parse a HTML fragment. They just want
an API that's simple and do reasonable things in most cases. IMO, it's okay
for edge cases to be weird as long as we agree on one behavior.

- Ryosuke

Received on Thursday, 10 May 2012 22:39:44 UTC