W3C home > Mailing lists > Public > whatwg@whatwg.org > September 2011

[whatwg] createContextualFragment in detached contexts

From: Erik Arvidsson <arv@chromium.org>
Date: Fri, 30 Sep 2011 09:57:39 -0700
Message-ID: <CAJ8+GogUxZErnbHRDNiNNN=EsKqRn5e9ney_YwjMQS8aPz0EoA@mail.gmail.com>
On Thu, Sep 29, 2011 at 16:10, Ryosuke Niwa <ryosuke.niwa at gmail.com> wrote:
>
> Can't authors use createElement? Or are you specifically concerne the case where authors want to use createContextualFragment?

No. createElement only takes a tagName. createContextualFragment takes
an arbitrary HTML fragment.

-- 
erik
Received on Friday, 30 September 2011 09:57:39 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:36 UTC