blob: 31a3738ab7a56b0422aebe820faa0161cb853792 [file] [log] [blame]
<!DOCTYPE html>
<html style="font-family: Ahem; font-size: 10px; -webkit-font-smoothing: none; color: white;">
<!-- WebKit bug 82630 - Incorrect placement of new child to table when before child parent is not |this|.
Test passes if you see 'B' wrapped in a table cell between ['A'] and ['C','D']. -->
<div id="container">
<div id="div1">A</div>
<div id="div2">C</div>
<div id="div3">D</div>
container = document.getElementById('container'); = 'table-row-group';
td = document.createElement('td');
container.insertBefore(td, document.getElementById('div2'));