korean-input-space.html 1.2 KB

123456789101112131415161718192021222324252627
  1. <html>
  2. <head>
  3. <style>
  4. .editing {
  5. border: 2px solid red;
  6. padding: 12px;
  7. font-size: 24px;
  8. }
  9. </style>
  10. <title>Korean Input Space Test</title>
  11. </head>
  12. <body>
  13. <p>This tests that a space used to terminate a marked sequence of characters produces a non breaking space in the editor, so that the space is actually visible in the document.</p>
  14. <p>Switch to Korean 2-Set, hit return, arrow up, type 'q', hit space. You should see 'ㅂ' followed by a space, and the carat should be after the space.</p>
  15. <div contenteditable id="root" class="editing">
  16. </div>
  17. <script>
  18. runEditingTest();
  19. </script>
  20. </body>
  21. </html>