W3C home > Mailing lists > Public > whatwg@whatwg.org > October 2012

Re: [whatwg] Proposal for window.DocumentType.prototype.toString

From: Ojan Vafai <ojan@chromium.org>
Date: Mon, 29 Oct 2012 18:34:24 -0700
Message-ID: <CANMdWTt7ZLxPLnmYUqOzV_WQH0RGm1N038ynk7O2S7SrkznAnQ@mail.gmail.com>
To: Boris Zbarsky <bzbarsky@mit.edu>
Cc: whatwg <whatwg@lists.whatwg.org>
On Mon, Oct 29, 2012 at 6:17 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:

> On 10/29/12 8:58 PM, Johan Sundström wrote:
>> Serializing a complete HTML document DOM to a string is surprisingly
>> hard in javascript.
> I thought there were plans to put innerHTML on Document.  Did that go
> nowhere?

There were plans to put in on DocumentFragment. But IIRC no other browser
vendors voiced an interest and Hixie was opposed because he thought it
would encourage people to do more string-based DOM building. The WebKit
patch for this floundered as a result. I still think it's a good idea.
Received on Tuesday, 30 October 2012 01:35:11 UTC

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