| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 | 2 |
| 3 <html> | 3 <html> |
| 4 <body> | 4 <body> |
| 5 <script src="../../fast/dom/resources/event-sender-util.js"></script> | 5 <script src="../../fast/dom/resources/event-sender-util.js"></script> |
| 6 <script src="../../fast/js/resources/js-test-pre.js"></script> | 6 <script src="../../fast/js/resources/js-test-pre.js"></script> |
| 7 | 7 |
| 8 <p>On the second time selecting <span>, it should not become non-contented
itable. | 8 <p>On the second time selecting <span>, it should not become non-contented
itable. |
| 9 If it becomes non-contenteditable, the selection from <span> to <table&
gt; | 9 If it becomes non-contenteditable, the selection from <span> to <table&
gt; |
| 10 will break editing boundaries and contain "a". | 10 will break editing boundaries and contain "a". |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 | 43 |
| 44 function contains(str, key) { | 44 function contains(str, key) { |
| 45 return str.indexOf(key) >= 0; | 45 return str.indexOf(key) >= 0; |
| 46 } | 46 } |
| 47 | 47 |
| 48 var selectedString = shadowRoot.getSelection().toString(); | 48 var selectedString = shadowRoot.getSelection().toString(); |
| 49 shouldBeFalse('contains(selectedString, "a")'); | 49 shouldBeFalse('contains(selectedString, "a")'); |
| 50 | 50 |
| 51 var successfullyParsed = true; | 51 var successfullyParsed = true; |
| 52 </script> | 52 </script> |
| 53 <script src="../../fast/js/resources/js-test-post.js"></script> | |
| 54 </body> | 53 </body> |
| 55 </html> | 54 </html> |
| OLD | NEW |