Reviewed by Justin Garcia.
[WebKit-https.git] / LayoutTests / platform / mac / editing / input / devanagari-ligature.html
1 <html>
2 <head>
3 <meta charset="utf-8">
4 </head>
5 <body>
6 <div id="test" contenteditable></div>
7 <script type="text/javascript">
8
9     document.getElementById("test").focus();
10
11     if (window.layoutTestController) {
12         
13         try {
14         
15             textInputController.insertText("क");
16             textInputController.setMarkedText("्", 1, 0);
17             textInputController.setMarkedText("", 0, 0);
18             textInputController.insertText("्ष");
19
20         } catch (ex) {
21             document.write("Exception: " + ex.description);
22         }
23     } else {
24         document.write("To reproduce manually:<br>");
25         document.write("1. Enable Devanagari keyboard layout.<br>");
26         document.write("2. Type a key sequence K D Shift-comma.<br>");
27         document.write("The result should be a single character.");
28     }
29 </script>
30 </body>
31 </html>