| <html> | |
| <head> | |
| <style> | |
| span { display: table; caption-side: bottom; } | |
| span:after { display: table-caption; content: 'after'; } | |
| </style> | |
| </head> | |
| <body> | |
| <p> | |
| Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=15309">http://bugs.webkit.org/show_bug.cgi?id=15309</a> | |
| Crash due to infinite recursion in RenderTable::addChild</i>. | |
| </p> | |
| <p> | |
| The following should look the same (and have identical render tree hierarchies): | |
| </p> | |
| <p> | |
| <span>table</span> | |
| </p> | |
| <p> | |
| <table cellpadding="0" style="border-collapse: collapse; caption-side: bottom;"> | |
| <tr> | |
| <td>table</td> | |
| </tr> | |
| <caption>after</caption> | |
| </table> | |
| </p> | |
| </body> | |
| </html> |