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

Side by Side Diff: LayoutTests/fast/html/adjacent-html-context-element.html

Issue 10577039: Merge 120638 - REGRESSION(r118414): some pages on concursolutions.com doesn't show up (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1180/
Patch Set: Created 8 years, 6 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
« no previous file with comments | « no previous file | LayoutTests/fast/html/adjacent-html-context-element-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <body> 3 <body>
4 <p>This tests inserting a td element "beforeBegin" of another td element using i nsertAdjacentHTML. 4 <p>This tests inserting a td element "beforeBegin" of another td element using i nsertAdjacentHTML.
5 If the context element was not properly adjusted, then td will be stripped by th e parser.</p> 5 If the context element was not properly adjusted, then td will be stripped by th e parser.</p>
6 <table><tr><td></td></tr></table> 6 <table><tr><td></td></tr></table>
7 <script> 7 <script>
8 8
9 if (window.testRunner) 9 if (window.testRunner)
10 testRunner.dumpAsText(); 10 testRunner.dumpAsText();
11 11
12 var td = document.querySelector('td'); 12 var td = document.querySelector('td');
13 td.insertAdjacentHTML('beforeBegin', '<td></td>'); 13 td.insertAdjacentHTML('beforeBegin', '<td></td>');
14 14
15 document.write(document.getElementsByTagName('td').length == 2 ? 'PASS' : 'FAIL' ); 15 document.write(document.getElementsByTagName('td').length == 2 ? 'PASS' : 'FAIL' );
16 16
17 </script> 17 </script>
18 </body> 18 </body>
19 </html> 19 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/html/adjacent-html-context-element-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698