| <script src="../../resources/check-layout.js"></script> |
| <body onload="checkLayout('iframe')"> |
| <p>Bug <a href='https://bugs.webkit.org/show_bug.cgi?id=95892'>95892</a>: REGRESSION(r122501): replaced elements with percent width are wrongly size when inserted inside an auto-table layout.</p> |
| <p>This test checks that a replaced element inside an auto-table layout properly computes its preferred logical width.</p> |
| <iframe srcdoc="<!DOCTYPE html><p>Lorem Ipsum</p>" width="100%" data-expected-width="763"></iframe> |
| <td align="right" valign="middle"> |
| <div style="width:10px;"></div> |