Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / title-content-set-innerText-get.xhtml
blobabe05575808cd4f8ed50b6d82951bf8f3105c220
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <title id='t'>Original Title</title>
5 <script src="../../resources/js-test.js"></script>
6 </head>
7 <body>
8 <p id="description"></p>
9 <div id="console"></div>
10 <script>
11 description("This test ensures that we can update the contents of the title tag of the XHTML document when setting document.title");
13 document.title = 'This is the new title';
14 shouldBe("document.getElementById('t').innerText", "'This is the new title'");
15 </script>
16 </body>
17 </html>