[webkit-help] DOM without rendering?

Luke Scott luke at cywh.com
Fri Apr 20 16:45:35 PDT 2012


On 4/20/12 2:48 PM, "Erik Arvidsson" <arv at chromium.org> wrote:

>You can use document without a renderer. I think everything you listed
>works as expected in a disconnected document.
>
>var doc = document.implementation.createHTMLDocument('Hello World');
>assert(doc.querySelector('html > title'),textContent === 'Hello World');
>
>This will not load any external resources. But like Ryosuke said,
>there are things that might be a bit surprising, especially when it
>comes to style and dimensions.
>
>erik

I meant more from a C++ end. I need to embed a light weight DOM into my
application and link it to V8, without the full browser stack.

Luke




More information about the webkit-help mailing list