|
@@ -6,7 +6,7 @@ fakeElement.toString = function () { return "FakeElement" };
|
|
|
fakeElement.parentNode = fakeElement.firstChild = fakeElement.lastChild = fakeElement;
|
|
|
fakeElement.ownerDocument = document;
|
|
|
|
|
|
-// document.head = document.body = fakeElement;
|
|
|
+document.head = document.body = fakeElement;
|
|
|
document.ownerDocument = document.documentElement = document;
|
|
|
document.getElementById = document.createElement = function () { return fakeElement; };
|
|
|
document.createDocumentFragment = function () { return this; };
|