W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2012

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

From: Anne van Kesteren <annevk@annevk.nl>
Date: Wed, 9 May 2012 12:02:28 +0200
Message-ID: <CADnb78j7XouMNumq7a-0dqqVZAY2Po-2atEpFSG+0U_4hjNrpw@mail.gmail.com>
To: Henri Sivonen <hsivonen@iki.fi>
Cc: public-webapps@w3.org
On Wed, May 9, 2012 at 11:10 AM, Henri Sivonen <hsivonen@iki.fi> wrote:
> On Wed, May 9, 2012 at 11:39 AM, James Graham <jgraham@opera.com> wrote:
>> document.parse(string, ["auto"|"html"|"svg"|"mathml"|"xml"])
> Makes sense at least for the options other than "auto".

The idea is that whatever comes out of this can also be used for the
<template> element. There is no known context there. And for fragment
parsing deployed thus far (jQuery) the context is not known either. If
the context was known we would not need to find it in the first place.
So assuming some high-level context (svg/math/...) is known seems kind
of weird to me.

Anne — Opera Software
Received on Wednesday, 9 May 2012 10:03:02 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 18:13:34 UTC