Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / table / table-anonymous-row-bug.html
blobe7d9267e4c1494741bdc799a4d0fbfe300caafd8
1 <!DOCTYPE html>
2 <html>
3 <body style="font-family: Ahem; -webkit-font-smoothing: none;">
4 <style>
5 div.table { display: table; }
6 div.cell { display: table-cell; width: 50px; height: 50px; background-color: blue; }
7 div.row { display: table-row; }
8 div.test { background-color: green; width: 50px; height: 50px; }
9 </style>
11 <div class="table" id="table-1">
12 <div class="row" id="row-1">
13 <div class="cell"></div>
14 </div>
15 <div class="row" id="row-2">
16 <div class="cell"></div>
17 </div>
18 </div>
20 <script>
21 function createDiv()
23 var divElement = document.createElement("div");
24 divElement.setAttribute("class", "test");
25 return divElement;
28 function insertDiv(tableID, beforeID)
30 var table = document.getElementById(tableID);
31 var before = document.getElementById(beforeID);
32 table.insertBefore(createDiv(), before);
35 document.body.offsetTop;
37 insertDiv("table-1", "row-2");
38 </script>
39 </body>
40 </html>