| OLD | NEW |
| (Empty) |
| 1 <!DOCTYPE html> | |
| 2 <html> | |
| 3 <head> | |
| 4 <script> | |
| 5 if (window.testRunner) | |
| 6 testRunner.dumpAsText(); | |
| 7 | |
| 8 var aoScriptElements = document.getElementsByTagName("script"); | |
| 9 for(var i = 0; i < aoScriptElements.length; i++) { | |
| 10 aoScriptElements[i].parentNode.removeChild(aoScriptElements[i]); | |
| 11 } | |
| 12 | |
| 13 function event_handler_384_readystatechange() { | |
| 14 var oSelection = window.getSelection(); | |
| 15 oSelection.deleteFromDocument(); | |
| 16 document.execCommand("SelectAll", false); | |
| 17 } | |
| 18 document.addEventListener("readystatechange", event_handler_384_readystate
change, false); | |
| 19 | |
| 20 var event_handler_387_DOMCharacterDataModified_active = false; | |
| 21 function event_handler_387_DOMCharacterDataModified() { | |
| 22 if (event_handler_387_DOMCharacterDataModified_active) return; | |
| 23 event_handler_387_DOMCharacterDataModified_active = true; | |
| 24 var oElement = event.srcElement; | |
| 25 if (oElement.parentNode) { | |
| 26 oElement.parentNode.replaceChild((function(){ | |
| 27 var aoElements = document.getElementsByTagName("*"); | |
| 28 return aoElements[66 % aoElements.length].cloneNode(true); | |
| 29 })(), oElement); | |
| 30 } | |
| 31 var oSelection=window.getSelection(); | |
| 32 var oSelectionElement = (function(){ | |
| 33 var aoElements = document.getElementsByTagName("*"); | |
| 34 if (aoElements.length) return aoElements[84 % aoElements.length]; | |
| 35 })(); | |
| 36 oSelection.collapse(oSelectionElement, oSelectionElement.textContent.len
gth?34 % oSelectionElement.textContent.length:0); | |
| 37 oSelection.modify('extend', 'backward', 'sentence'); | |
| 38 var oRange = oSelection.rangeCount ? oSelection.getRangeAt(15 % oSelecti
on.rangeCount) : null; | |
| 39 if (oRange) oSelection.addRange(oRange.cloneRange()); | |
| 40 oSelection.modify('extend', 'forward', 'line'); | |
| 41 var oRange = oSelection.rangeCount ? oSelection.getRangeAt(41 % oSelecti
on.rangeCount) : null; | |
| 42 if (oRange) { | |
| 43 var oDocumentFragment = oRange.extractContents(); | |
| 44 if (oDocumentFragment) { | |
| 45 var oParent = (function(){ | |
| 46 var aoElements = document.getElementsByTagName("*"); | |
| 47 if (aoElements.length) return aoElements[21 % aoElements.length]; | |
| 48 })(); | |
| 49 if (oParent) { | |
| 50 oParent.appendChild(oDocumentFragment); | |
| 51 } | |
| 52 } | |
| 53 } | |
| 54 event_handler_387_DOMCharacterDataModified_active = false; | |
| 55 } | |
| 56 document.addEventListener("DOMCharacterDataModified", event_handler_387_DO
MCharacterDataModified, true); | |
| 57 | |
| 58 </script> | |
| 59 <style> | |
| 60 .CLASS1{display:inline;-webkit-writing-mode:vertical-rl;} | |
| 61 .CLASS5{top:inherit;-webkit-text-combine:horizontal;} | |
| 62 </style> | |
| 63 </head> | |
| 64 <body> | |
| 65 <meta> | |
| 66 <pre> | |
| 67 <tt> | |
| 68 <rb> | |
| 69 <svg></svg> | |
| 70 <button> | |
| 71 <div class="CLASS1 CLASS5"> | |
| 72 <fieldset> | |
| 73 </fieldset> | |
| 74 <table> | |
| 75 <caption> | |
| 76 <textarea></textarea> | |
| 77 <select> | |
| 78 </select> | |
| 79 <select> | |
| 80 <optgroup> | |
| 81 <option> | |
| 82 </select> | |
| 83 TestPassesIfItDoesNotCrash.TestPassesIfItDoesNotCrash.TestPassesIfItDoesNotCrash
. | |
| 84 </table> | |
| 85 A | |
| 86 </div> | |
| 87 </button> | |
| 88 </rb> | |
| 89 </tt> | |
| 90 </pre> | |
| 91 </meta> | |
| 92 </body> | |
| 93 </html> | |
| OLD | NEW |