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

Side by Side Diff: LayoutTests/fast/dom/Element/id-in-insert-hr.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 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../js/resources/js-test-pre.js"></script> 3 <script src="../../../resources/js-test.js"></script>
4 </head> 4 </head>
5 <body> 5 <body>
6 6
7 <div id="test1" contenteditable="true">foobar</div> 7 <div id="test1" contenteditable="true">foobar</div>
8 8
9 <script> 9 <script>
10 description("Test using id in execCommand(InsertHorizontalRule)"); 10 description("Test using id in execCommand(InsertHorizontalRule)");
11 11
12 var s = window.getSelection(); 12 var s = window.getSelection();
13 var e = document.getElementById("test1"); 13 var e = document.getElementById("test1");
14 s.setPosition(e, 0); 14 s.setPosition(e, 0);
15 15
16 var id = "hr"; 16 var id = "hr";
17 document.execCommand("InsertHorizontalRule", false, id); 17 document.execCommand("InsertHorizontalRule", false, id);
18 var hr = document.getElementById(id); 18 var hr = document.getElementById(id);
19 19
20 shouldBeNonNull('hr'); 20 shouldBeNonNull('hr');
21 </script> 21 </script>
22 </body> 22 </body>
23 </html> 23 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/Element/id-in-frame.html ('k') | LayoutTests/fast/dom/Element/id-in-map.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698