Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / script-tests / document-head.js
blob8786dbe29490e57e92d0b0b3b8e7bdd791a10400
1 description("This test checks to see if document.head is available, readonly, and the same element as what we would expect by getting it by other means.");
3 shouldBe("document.head", "document.getElementsByTagName('head')[0]");
5 document.head = 1;
6 shouldBeTrue("document.head !== 1");
8 document.documentElement.removeChild(document.head);
9 shouldBeNull("document.head");