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

Side by Side Diff: LayoutTests/fast/table/table-row-split2.html

Issue 10261009: Merge 113581 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1084/
Patch Set: Created 8 years, 7 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> 1 <!DOCTYPE html>
2 <html style="font-family: ahem; font-size: 10px; -webkit-font-smoothing: none; c olor: white"> 2 <html style="font-family: ahem; font-size: 10px; -webkit-font-smoothing: none; c olor: white">
3 <!-- WebKit bug 82630 - Incorrect placement of new child to table when before ch ild parent is not |this|. 3 <!-- WebKit bug 82630 - Incorrect placement of new child to table when before ch ild parent is not |this|.
4 Test passes if you see 'B' wrapped in a table cell between ['A'] and ['C',' D']. --> 4 Test passes if you see 'B' wrapped in a table cell between ['A'] and ['C',' D']. -->
5 <div id="container"> 5 <div id="container">
6 <div id="div1">A</div> 6 <div id="div1">A</div>
7 <div id="div2">C</div> 7 <div id="div2">C</div>
8 <div id="div3">D</div> 8 <div id="div3">D</div>
9 </div> 9 </div>
10 <script> 10 <script>
11 container = document.getElementById('container'); 11 container = document.getElementById('container');
12 container.style.display = 'table-row'; 12 container.style.display = 'table-row';
13 document.body.offsetTop; 13 document.body.offsetTop;
14 td = document.createElement('td'); 14 td = document.createElement('td');
15 td.appendChild(document.createTextNode('B')); 15 td.appendChild(document.createTextNode('B'));
16 container.insertBefore(td, document.getElementById('div2')); 16 container.insertBefore(td, document.getElementById('div2'));
17 </script> 17 </script>
18 </html> 18 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698