| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 | 
							- <!DOCTYPE html>
 
- <html>
 
-     <head>
 
-         <meta http-equiv="content-type" content="text/html; charset=UTF-8">
 
-         <title>Test 010</title>
 
-         <script>
 
-         var Hyphenopoly = {
 
-             require: {
 
-                 "de": "FORCEHYPHENOPOLY"
 
-             },
 
-             setup: {
 
-                 hide: "element",
 
-                 selectors: {
 
-                     ".class1": {
 
-                         hyphen: "·"
 
-                     },
 
-                     ".class2": {
 
-                         hyphen: String.fromCharCode(173)
 
-                     }
 
-                 }
 
-             },
 
-             handleEvent: {
 
-                 hyphenopolyEnd: function (e) {
 
-                     assert();
 
-                 }
 
-             }
 
-         };
 
-         function assert() {
 
-             var tests = 1;
 
-             var i = 1;
 
-             var test = "";
 
-             var ref = "";
 
-             var result = true;
 
-             while (i <= tests) {
 
-                 test = document.getElementById("test" + i).textContent;
 
-                 ref = document.getElementById("ref" + i).textContent;
 
-                 if (test === ref) {
 
-                     document.getElementById("result").innerHTML += "<p style=\"background-color: #d6ffd6\">" + i + " passed</p>";
 
-                     result = result && true;
 
-                 } else {
 
-                     document.getElementById("result").innerHTML += "<p style=\"background-color: #ffd6d6\">" + i + " failed</p>";
 
-                     result = false;
 
-                 }
 
-                 i += 1;
 
-             }
 
-             if (parent != window) {
 
-                 parent.postMessage(JSON.stringify({
 
-                     desc: document.getElementById("desc").innerHTML,
 
-                     index: 10,
 
-                     result: (result ? "passed" : "failed")
 
-                 }), window.location.href);
 
-             }
 
-         }
 
-         document.addEventListener("DOMContentLoaded", function() {
 
-             document.getElementById("pastebin").addEventListener("keyup", function(e) {
 
-                 this.value += "\n" + Array.prototype.map.call(this.value, function (x) {
 
-                     return x.charCodeAt(0)
 
-                 });
 
-             }, true);
 
-         });
 
-         </script>
 
-         <script src="../Hyphenopoly_Loader.js"></script>
 
-         <style type="text/css">
 
-             body {
 
-                 width:50%;
 
-                 margin-left:25%;
 
-                 margin-right:25%;
 
-             }
 
-             .italic {
 
-                 font-style: italic;
 
-             }
 
-             .test {
 
-                 background-color: #D8E2F9;
 
-             }
 
-             .ref {
 
-                 background-color: #FEEFC0;
 
-             }
 
-             .hyphenate {
 
-                 hyphens: auto;
 
-                 -ms-hyphens: auto;
 
-                 -moz-hyphens: auto;
 
-                 -webkit-hyphens: auto;
 
-             }
 
-         </style>
 
-     </head>
 
-     <body>
 
-         <div id="navigate"><a href="index.html">↞ Index</a>  <a href="test9.html">← Prev</a>  <a href="test11.html">Next →</a></div>
 
-         <h1>Test 010</h1>
 
-         <p id="desc">Check copy hack</p>
 
-         <div id="result"></div>
 
-         <hr>
 
-         <h2>1: class1</h2>
 
-         <p id="test1" class="test class1" lang="de">Silbentrennung: <span class="class2 italic">Die Worttrennung, auch Silbentrennung genannt, bezeichnet in der Orthographie die Art und Weise, wie die Wörter insbesondere am Zeilenende getrennt werden können.</span></p>
 
-         <p id="ref1" class="ref" lang="de">Sil·ben·tren·nung: <span class="italic">Die Wort­tren­nung, auch Sil­ben­tren­nung ge­nannt, be­zeich­net in der Or­tho­gra­phie die Art und Weise, wie die Wör­ter ins­be­son­de­re am Zei­len­en­de ge­trennt wer­den kön­nen.</span></p>
 
-         <hr>
 
-         <textarea id="pastebin" placeholder="paste here" cols="40"></textarea>
 
-         <div><span class="test">Test</span> <span class="ref">Ref</span></div>
 
-     </body>
 
- </html>
 
 
  |