From 6843735807a90cde20a34254b950cb4afe8cc2eb Mon Sep 17 00:00:00 2001 From: tim walker Date: Wed, 10 Sep 2014 12:54:34 -0700 Subject: [PATCH] make use of documentElement.outerHTML --- demo/demo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demo/demo.js b/demo/demo.js index 0c45fac..f5ff46f 100644 --- a/demo/demo.js +++ b/demo/demo.js @@ -29,7 +29,7 @@ require(['inline-styles', 'text!example.html'], function(inlineStyles, fixture){ console.time('inlineStyles'); inlineStyles(doc); console.timeEnd('inlineStyles') - form.querySelector('[name="dest"]').value = doc.head.outerHTML + '\n' + doc.body.outerHTML; + form.querySelector('[name="dest"]').value = doc.documentElement.outerHTML; var inputLength = form.querySelector('[name="src"]').value.length var outputLength = form.querySelector('[name="dest"]').value.length