| <!DOCTYPE html> |
| <html> |
| <body> |
| This tests that a misparented table-column-group is properly wrapped in an anonymous table. |
| See <a href="http://bugs.webkit.org/show_bug.cgi?id=86671">bug 86671</a> for details. |
| <div style="display:table"> |
| <div style="display:table-column-group;"> |
| <div style="display: table-column; background-color: green;"></div> |
| <div style="display: table-column; background-color: yellow;"></div> |
| </div> |
| <div style="display:table-row;"><div style="display:table-cell;">This box should be green</div><div style="display:table-cell;">This box should be yellow</div></div> |
| </div> |
| </body> |
| </html> |