Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / forms / form-data-encoding-3.html
blobd836641b850ed2002a6c9189c2b0272ae5432eb6
1 <html>
2 <head>
3 <meta http-equiv="content-type" content="text/html; charset=utf-8">
4 <title>Charsets and submitting forms</title>
5 </head>
6 <body>
7 <form action="?" name="f">
8 <!-- This example comes from page 9 of the SBL Hebrew Font User Manual http://www.sbl-site.org/Fonts/SBLHebrewManualv1.5.pdf
9 "The final four characters of this word are correctly encoded in the order lamed + patah + hiriq + final mem,
10 and the word is correctly displayed ...; however,the faulty canonical combining classes
11 for patah and hiriq in Unicode cause hiriq to always precede patah when reordering due to
12 normalisation is applied. The resulting sequence lamed + hiriq + patah + final mem is both
13 textually incorrect and cannot be correctly displayed by the SBL Hebrew font" -->
14 <input type="hidden" name="q" value="&#1497;&#1456;&#1512;&#1493;&#1468;&#1513;&#1464;&#1473;&#1500;&#1463;&#1460;&#1501;" style="font: 40pt 'SBL Hebrew';"><br>
15 </form>
16 <script>
17 if (window.testRunner) {
18 testRunner.dumpAsText();
19 testRunner.waitUntilDone();
22 if (document.URL.substring(0, 4) == "file") {
24 if (document.URL.indexOf('?') == -1) {
25 document.f.submit();
27 } else {
28 if (unescape(document.URL.substring(document.URL.indexOf('?') + 1, document.URL.length)) == unescape("q=%D7%99%D6%B0%D7%A8%D7%95%D6%BC%D7%A9%D6%B8%D7%81%D7%9C%D6%B7%D6%B4%D7%9D"))
29 document.write("<p>Success</p>");
30 else
31 document.write("<p>Failure</p>");
33 if (window.testRunner)
34 testRunner.notifyDone();
37 } else {
39 document.write("<p>This test doesn't work directly from bugzilla, please save it to a local file first.</p>");
41 </script>
42 </body>
43 </html>