2008-11-04 Anders Carlsson <andersca@apple.com>
[webkit/qt.git] / LayoutTests / fast / encoding / bom-in-content.html
blobc30a914130efc6aa65ecf2feef63491bd26cd88c
1 <head>
2 <meta charset="utf-8">
3 </head>
4 <body>
5 <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=18681">bug 18681</a>:
6 BOM characters should not be removed from input stream.<p>
7 <div id=BOMs></div>
8 <script>
9 if (window.layoutTestController)
10 layoutTestController.dumpAsText();
12 document.write(document.getElementById("BOMs").innerHTML.length == 1 ? "PASS" : "FAIL");
13 </script>
14 </body>