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

Side by Side Diff: LayoutTests/editing/shadow/delete-list-in-shadow.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 <html> 2 <html>
3 <body> 3 <body>
4 <script src="../../fast/js/resources/js-test-pre.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 5
6 <p>Elements distributed to Shadow DOM should be deleted correctly when pressing delete key.</p> 6 <p>Elements distributed to Shadow DOM should be deleted correctly when pressing delete key.</p>
7 <p>To test manually, select somewhere in ABCDE from somehwere in 12345, and pres s delete, and check the selected text is deleted correctly.</p> 7 <p>To test manually, select somewhere in ABCDE from somehwere in 12345, and pres s delete, and check the selected text is deleted correctly.</p>
8 8
9 <div id="container"> 9 <div id="container">
10 <ol id="host" contenteditable> 10 <ol id="host" contenteditable>
11 <li id="list1">ABCDE</li> 11 <li id="list1">ABCDE</li>
12 <li id="list2">abcde</li> 12 <li id="list2">abcde</li>
13 <li id="list3">12345</li> 13 <li id="list3">12345</li>
14 </ol> 14 </ol>
(...skipping 21 matching lines...) Expand all
36 eventSender.keyDown('delete'); 36 eventSender.keyDown('delete');
37 37
38 var hostTextContent = host.textContent.replace(/^\s+|\s+$/g, ''); 38 var hostTextContent = host.textContent.replace(/^\s+|\s+$/g, '');
39 shouldBe("hostTextContent", "'AB345'"); 39 shouldBe("hostTextContent", "'AB345'");
40 container.innerHTML = ""; 40 container.innerHTML = "";
41 } 41 }
42 </script> 42 </script>
43 43
44 </body> 44 </body>
45 </html> 45 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698