- From: Ryosuke Niwa <rniwa@webkit.org>
- Date: Wed, 25 Apr 2012 08:55:15 -0700
- To: Brian Kardell <bkardell@gmail.com>
- Cc: Rafael Weinstein <rafaelw@google.com>, Webapps WG <public-webapps@w3.org>, Yehuda Katz <wycats@gmail.com>
- Message-ID: <CABNRm61RVODnDaOErPNuzHZ8gvYMSb_B_6_nzqqGxFspMa3w7Q@mail.gmail.com>
Right. I just want to make sure we agree on the exact feature set and behavior before WebKit implements it. On Wed, Apr 25, 2012 at 7:39 AM, Brian Kardell <bkardell@gmail.com> wrote: > It does feel very sensible that regardless of templates this is a useful > feature that we've long desired. > On Apr 24, 2012 8:28 AM, "Rafael Weinstein" <rafaelw@google.com> wrote: > >> No, I hadn't. Let me digest this thread. Much of what I'm implicitly >> asking has already been discussed. I'll repost if I have anything to >> add here. Apologies for the noise. >> >> On Mon, Apr 23, 2012 at 10:32 PM, Ryosuke Niwa <rniwa@webkit.org> wrote: >> > Have you looked >> > at >> http://lists.w3.org/Archives/Public/public-webapps/2011OctDec/0663.html ? >> > >> > On Mon, Apr 23, 2012 at 8:39 PM, Rafael Weinstein <rafaelw@google.com> >> > wrote: >> >> >> >> The main points of contention in the discussion about the template >> element >> >> are >> >> >> >> 1) By what mechanism are its content elements 'inert' >> >> 2) Do template contents reside in the document, or outside of it >> >> >> >> What doesn't appear to be controversial is the parser changes which >> >> would allow the template element to have arbitrary top-level content >> >> elements. >> >> >> >> I'd like to propose that we add DocumentFragment.innerHTML which >> >> parses markup into elements without a context element. This has come >> >> up in the past, and is in itself a useful feature. The problem it >> >> solves is allowing templating systems to create DOM from markup >> >> without having to "sniff" the content and only innerHTML on an >> >> appropriate parent element (Yehuda can speak more to this). >> >> >> >> The parser changes required for this are a subset of the changes that >> >> Dimitri uncovered here: >> >> >> >> >> http://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/templates/index.html >> >> >> >> And I've uploaded a webkit patch which implements them here: >> >> >> >> https://bugs.webkit.org/show_bug.cgi?id=84646 >> >> >> >> I'm hoping this is a sensible way to make progress. Thoughts? >> >> >> > >> >>
Received on Wednesday, 25 April 2012 15:56:05 UTC