Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / document-set-title-no-child-on-empty.html
blob80bd7a975233e9ca026ec7e57d9d0e74d56d69f6
1 <!DOCTYPE html>
2 <title>document title and the empty string</title>
3 <script src="../../resources/js-test.js"></script>
4 <body>
5 <script>
6 description("On setting document.title to the empty string, no text node must be created");
8 var head = document.documentElement.firstChild;
9 head.removeChild(head.firstChild);
10 shouldBeEqualToString("document.title", "");
11 document.title = "";
12 shouldBeEqualToString("document.title", "");
13 shouldBeTrue("head.lastChild instanceof HTMLTitleElement");
14 shouldBe("head.lastChild.firstChild", 'null');
15 </script>
16 </body>