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

Side by Side Diff: third_party/WebKit/LayoutTests/html/sections/header-element.html

Issue 2669403002: Move tests for sections elements to html/sections/. (Closed)
Patch Set: Created 3 years, 10 months 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
OLDNEW
1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"> 1 <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../resources/js-test.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 description('Various tests for the header element.'); 8 description('Various tests for the header element.');
9 9
10 var testParent = document.createElement('div'); 10 var testParent = document.createElement('div');
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 var selection = window.getSelection(); 45 var selection = window.getSelection();
46 selection.selectAllChildren(editable); 46 selection.selectAllChildren(editable);
47 document.execCommand('FormatBlock', false, 'header'); 47 document.execCommand('FormatBlock', false, 'header');
48 selection.removeAllRanges(); 48 selection.removeAllRanges();
49 shouldBe('document.getElementById("span2").parentNode.nodeName', '"HEADER"'); 49 shouldBe('document.getElementById("span2").parentNode.nodeName', '"HEADER"');
50 document.body.removeChild(editable); 50 document.body.removeChild(editable);
51 51
52 </script> 52 </script>
53 </body> 53 </body>
54 </html> 54 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698