OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <html> |
| 3 <style> #tableId, #trId, #tdId {display: inline;}</style> |
| 4 <body> |
| 5 <h3>Test for chromium bug : <a href="https://code.google.com/p/chromium/issues/d
etail?id=53693">53693</a>. Tables with display:inline rendered in wrong position
.</h3> |
| 6 <h4>Table was created as Inline renderer and another table renderer is created f
or table's content. So It was displayed as block element and all it's style prop
erties also associated with inline renderer and was not applied to table.</h4> |
| 7 |
| 8 case 1: The two blocks below should present in same line, first block with green
background color and second block with blue background color. |
| 9 <br/><br/> |
| 10 |
| 11 <table style="display:inline; background: green; width: 100px;"> |
| 12 <tr><td>inline table 1</td></tr> |
| 13 </table> |
| 14 |
| 15 <table style="display:inline; background: blue; width: 100px;"> |
| 16 <tr><td>inline table 2</td></tr> |
| 17 </table> |
| 18 |
| 19 <br/><br/> |
| 20 |
| 21 case 2: 'Hello' and 'World' should present in same line. |
| 22 |
| 23 <br/><br/> |
| 24 |
| 25 <div>Hello <table style="display:inline;"><tr><td>World</td></tr></table> </div> |
| 26 |
| 27 <br/> |
| 28 |
| 29 <div>Hello <table id="tableId"><tr id="trId"><td id="tdId">World</td></tr></tabl
e> </div> |
| 30 |
| 31 </body> |
| 32 </html> |
OLD | NEW |