Changeset 98741 in webkit
- Timestamp:
- Oct 28, 2011, 11:28:00 AM (15 years ago)
- Location:
- branches/chromium/912/LayoutTests/fast/table
- Files:
-
- 6 edited
- 3 copied
-
table-anonymous-cell-bug-expected.png (copied) (copied from trunk/LayoutTests/fast/table/table-anonymous-cell-bug-expected.png )
-
table-anonymous-cell-bug-expected.txt (modified) (1 diff)
-
table-anonymous-cell-bug.html (modified) (2 diffs)
-
table-anonymous-row-bug-expected.png (copied) (copied from trunk/LayoutTests/fast/table/table-anonymous-row-bug-expected.png )
-
table-anonymous-row-bug-expected.txt (modified) (1 diff)
-
table-anonymous-row-bug.html (modified) (1 diff)
-
table-anonymous-section-bug-expected.png (copied) (copied from trunk/LayoutTests/fast/table/table-anonymous-section-bug-expected.png )
-
table-anonymous-section-bug-expected.txt (modified) (1 diff)
-
table-anonymous-section-bug.html (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/chromium/912/LayoutTests/fast/table/table-anonymous-cell-bug-expected.txt
r98740 r98741 4 4 RenderBlock {HTML} at (0,0) size 800x66 5 5 RenderBody {BODY} at (8,8) size 784x50 6 RenderTable {DIV} at (0,0) size 260x507 RenderTableSection {DIV} at (0,0) size 260x508 RenderTableRow {DIV} at (0,0) size 260x506 RenderTable {DIV} at (0,0) size 150x50 7 RenderTableSection {DIV} at (0,0) size 150x50 8 RenderTableRow {DIV} at (0,0) size 150x50 9 9 RenderTableCell {DIV} at (0,0) size 50x0 [bgcolor=#0000FF] [r=0 c=0 rs=1 cs=1] 10 RenderTableCell (anonymous) at (50,0) size 160x16 [r=0 c=1 rs=1 cs=1] 11 RenderInline {SPAN} at (0,0) size 160x16 12 RenderText {#text} at (0,0) size 160x16 13 text run at (0,0) width 160: "Some text." 14 RenderTableCell {DIV} at (210,0) size 50x0 [bgcolor=#0000FF] [r=0 c=2 rs=1 cs=1] 10 RenderTableCell (anonymous) at (50,0) size 50x50 [r=0 c=1 rs=1 cs=1] 11 RenderBlock {DIV} at (0,0) size 50x50 [bgcolor=#008000] 12 RenderTableCell {DIV} at (100,0) size 50x0 [bgcolor=#0000FF] [r=0 c=2 rs=1 cs=1] -
branches/chromium/912/LayoutTests/fast/table/table-anonymous-cell-bug.html
r98740 r98741 7 7 div.cell { display: table-cell; width: 50px; height: 50px; background-color: blue; } 8 8 div.row { display: table-row; } 9 div.test { background-color: green; width: 50px; height: 50px; } 9 10 </style> 10 11 … … 19 20 20 21 <script> 21 function create Span()22 function createDiv() 22 23 { 23 var spanElement = document.createElement("span");24 spanElement.appendChild(document.createTextNode("Some text."));25 return spanElement;24 var divElement = document.createElement("div"); 25 divElement.setAttribute("class", "test"); 26 return divElement; 26 27 } 27 28 28 function insert Span(tableID, beforeID)29 function insertDiv(tableID, beforeID) 29 30 { 30 31 var tableRow = document.getElementById(tableID); 31 32 var before = document.getElementById(beforeID); 32 tableRow.insertBefore(create Span(), before);33 tableRow.insertBefore(createDiv(), before); 33 34 } 34 35 35 36 document.body.offsetTop; 36 37 37 insert Span("row-1", "cell-2");38 insertDiv("row-1", "cell-2"); 38 39 </script> 39 40 </body> -
branches/chromium/912/LayoutTests/fast/table/table-anonymous-row-bug-expected.txt
r98740 r98741 1 1 layer at (0,0) size 800x600 2 2 RenderView at (0,0) size 800x600 3 layer at (0,0) size 800x132 4 RenderBlock {HTML} at (0,0) size 800x132 5 RenderBody {BODY} at (8,8) size 784x116 6 RenderTable {DIV} at (0,0) size 160x116 7 RenderTableSection (anonymous) at (0,0) size 160x116 8 RenderTableRow {DIV} at (0,0) size 160x50 9 RenderTableCell {DIV} at (0,0) size 160x16 [bgcolor=#0000FF] [r=0 c=0 rs=1 cs=1] 10 RenderText {#text} at (0,0) size 96x16 11 text run at (0,0) width 96: "Cell 1" 12 RenderTableRow (anonymous) at (0,50) size 160x16 13 RenderTableCell (anonymous) at (0,50) size 160x16 [r=1 c=0 rs=1 cs=1] 14 RenderInline {SPAN} at (0,0) size 160x16 15 RenderText {#text} at (0,0) size 160x16 16 text run at (0,0) width 160: "Some text." 17 RenderTableRow {DIV} at (0,66) size 160x50 18 RenderTableCell {DIV} at (0,66) size 160x16 [bgcolor=#0000FF] [r=2 c=0 rs=1 cs=1] 19 RenderText {#text} at (0,0) size 96x16 20 text run at (0,0) width 96: "Cell 2" 3 layer at (0,0) size 800x166 4 RenderBlock {HTML} at (0,0) size 800x166 5 RenderBody {BODY} at (8,8) size 784x150 6 RenderTable {DIV} at (0,0) size 50x150 7 RenderTableSection (anonymous) at (0,0) size 50x150 8 RenderTableRow {DIV} at (0,0) size 50x50 9 RenderTableCell {DIV} at (0,0) size 50x0 [bgcolor=#0000FF] [r=0 c=0 rs=1 cs=1] 10 RenderTableRow (anonymous) at (0,50) size 50x50 11 RenderTableCell (anonymous) at (0,50) size 50x50 [r=1 c=0 rs=1 cs=1] 12 RenderBlock {DIV} at (0,0) size 50x50 [bgcolor=#008000] 13 RenderTableRow {DIV} at (0,100) size 50x50 14 RenderTableCell {DIV} at (0,100) size 50x0 [bgcolor=#0000FF] [r=2 c=0 rs=1 cs=1] -
branches/chromium/912/LayoutTests/fast/table/table-anonymous-row-bug.html
r98740 r98741 6 6 div.cell { display: table-cell; width: 50px; height: 50px; background-color: blue; } 7 7 div.row { display: table-row; } 8 div.test { background-color: green; width: 50px; height: 50px; } 8 9 </style> 9 10 10 11 <div class="table" id="table-1"> 11 12 <div class="row" id="row-1"> 12 <div class="cell"> Cell 1</div>13 <div class="cell"></div> 13 14 </div> 14 15 <div class="row" id="row-2"> 15 <div class="cell"> Cell 2</div>16 <div class="cell"></div> 16 17 </div> 17 18 </div> 18 19 19 20 <script> 20 function create Span()21 function createDiv() 21 22 { 22 var spanElement = document.createElement("span");23 spanElement.appendChild(document.createTextNode("Some text."));24 return spanElement;23 var divElement = document.createElement("div"); 24 divElement.setAttribute("class", "test"); 25 return divElement; 25 26 } 26 27 27 function insert Span(tableID, beforeID)28 function insertDiv(tableID, beforeID) 28 29 { 29 30 var table = document.getElementById(tableID); 30 31 var before = document.getElementById(beforeID); 31 table.insertBefore(create Span(), before);32 table.insertBefore(createDiv(), before); 32 33 } 33 34 34 35 document.body.offsetTop; 35 36 36 insert Span("table-1", "row-2");37 insertDiv("table-1", "row-2"); 37 38 </script> 38 39 </body> -
branches/chromium/912/LayoutTests/fast/table/table-anonymous-section-bug-expected.txt
r98740 r98741 1 1 layer at (0,0) size 800x600 2 2 RenderView at (0,0) size 800x600 3 layer at (0,0) size 800x32 4 RenderBlock {HTML} at (0,0) size 800x32 5 RenderBody {BODY} at (8,8) size 784x16 6 RenderTable {DIV} at (0,0) size 160x16 7 RenderTableSection {DIV} at (0,0) size 160x0 8 RenderTableSection (anonymous) at (0,0) size 160x16 9 RenderTableRow (anonymous) at (0,0) size 160x16 10 RenderTableCell (anonymous) at (0,0) size 160x16 [r=0 c=0 rs=1 cs=1] 11 RenderInline {SPAN} at (0,0) size 160x16 12 RenderText {#text} at (0,0) size 160x16 13 text run at (0,0) width 160: "Some text." 14 RenderTableSection {DIV} at (0,16) size 160x0 3 layer at (0,0) size 800x66 4 RenderBlock {HTML} at (0,0) size 800x66 5 RenderBody {BODY} at (8,8) size 784x50 6 RenderTable {DIV} at (0,0) size 50x50 7 RenderTableSection {DIV} at (0,0) size 50x0 8 RenderTableSection (anonymous) at (0,0) size 50x50 9 RenderTableRow (anonymous) at (0,0) size 50x50 10 RenderTableCell (anonymous) at (0,0) size 50x50 [r=0 c=0 rs=1 cs=1] 11 RenderBlock {DIV} at (0,0) size 50x50 [bgcolor=#008000] 12 RenderTableSection {DIV} at (0,50) size 50x0 -
branches/chromium/912/LayoutTests/fast/table/table-anonymous-section-bug.html
r98740 r98741 5 5 div.table { display: table; } 6 6 div.section { display: table-row-group; } 7 div.test { background-color: green; width: 50px; height: 50px; } 7 8 </style> 8 9 … … 15 16 16 17 <script> 17 function create Span()18 function createDiv() 18 19 { 19 var spanElement = document.createElement("span");20 spanElement.appendChild(document.createTextNode("Some text."));21 return spanElement;20 var divElement = document.createElement("div"); 21 divElement.setAttribute("class", "test"); 22 return divElement; 22 23 } 23 24 24 function insert Span(tableID, beforeID)25 function insertDiv(tableID, beforeID) 25 26 { 26 27 var table = document.getElementById(tableID); 27 28 var before = document.getElementById(beforeID); 28 table.insertBefore(create Span(), before);29 table.insertBefore(createDiv(), before); 29 30 } 30 31 31 32 document.body.offsetTop; 32 33 33 insert Span("table-1", "tbody-2");34 insertDiv("table-1", "tbody-2"); 34 35 </script> 35 36 </body>
Note:
See TracChangeset
for help on using the changeset viewer.