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

Side by Side Diff: third_party/WebKit/LayoutTests/html/sections/numbered-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 // Test for WebKit Bug 15136 - HTML5 spec violation: </h1> doesn't end <h3> elem ent in Webkit 8 // Test for WebKit Bug 15136 - HTML5 spec violation: </h1> doesn't end <h3> elem ent in Webkit
9 // https://bugs.webkit.org/show_bug.cgi?id=15136 9 // https://bugs.webkit.org/show_bug.cgi?id=15136
10 // rdar://problem/5762882 10 // rdar://problem/5762882
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 debug('&lt;h6> closes &lt;h6>:'); 240 debug('&lt;h6> closes &lt;h6>:');
241 testParent.innerHTML = '<h6 id="test1"></h6><div id="test2"></div><p>Test that & lt;h6> closes &lt;h6.</p>'; 241 testParent.innerHTML = '<h6 id="test1"></h6><div id="test2"></div><p>Test that & lt;h6> closes &lt;h6.</p>';
242 var h1 = document.getElementById('test2'); 242 var h1 = document.getElementById('test2');
243 shouldBeFalse('test2.parentNode.id == "test1"'); 243 shouldBeFalse('test2.parentNode.id == "test1"');
244 shouldBeTrue('test2.parentNode.id == "test0"'); 244 shouldBeTrue('test2.parentNode.id == "test0"');
245 245
246 document.body.removeChild(testParent); 246 document.body.removeChild(testParent);
247 </script> 247 </script>
248 </body> 248 </body>
249 </html> 249 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698