Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / DOMImplementation / createHTMLDocument-title.html
blob1e7a88c8b2ea954e3b7902ce28a429009abd8483
1 <p>Test for a <href="https://bugs.webkit.org/show_bug.cgi?id=30982">bug 30982</a>: createHTMLDocument doesn't escape ampersand and less-than in title.</p>
2 <p>Should say PASS:</p>
3 <script>
4 if (window.testRunner)
5 testRunner.dumpAsText();
7 var result = document.implementation.createHTMLDocument('foo</title>').title;
8 document.write((result == 'foo</title>') ? "PASS" : ("FAIL. Title is:<xmp>" + result + "</xmp>"));
9 </script>