Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Side by Side Diff: LayoutTests/editing/shadow/breaking-editing-boundary-with-table.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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="../../resources/js-test.js"></script>
7 7
8 <p>On the second time selecting &lt;span&gt;, it should not become non-contented itable. 8 <p>On the second time selecting &lt;span&gt;, it should not become non-contented itable.
9 If it becomes non-contenteditable, the selection from &lt;span&gt; to &lt;table& gt; 9 If it becomes non-contenteditable, the selection from &lt;span&gt; to &lt;table& gt;
10 will break editing boundaries and contain "a". 10 will break editing boundaries and contain "a".
11 This test checks the &lt;span&gt; does not changed to non-contenteditable elemen t.</p> 11 This test checks the &lt;span&gt; does not changed to non-contenteditable elemen t.</p>
12 12
13 <div id="host" contenteditable></div> 13 <div id="host" contenteditable></div>
14 <pre id="console"></pre> 14 <pre id="console"></pre>
15 15
16 <script> 16 <script>
(...skipping 28 matching lines...) Expand all
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 </body> 53 </body>
54 </html> 54 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698