4 <script src=
"../../resources/check-layout.js"></script>
21 <body onload=
"checkLayout('iframe')">
22 <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>
23 <p>This test checks that a replaced element inside an auto-table layout properly computes its preferred logical width.
</p>
24 <table align=
"middle">
28 <div style=
"width:100%">
29 <iframe srcdoc=
"<!DOCTYPE html><p>Lorem Ipsum</p>" width=
"100%" data-expected-width=
"763"></iframe>
32 <td align=
"right" valign=
"middle">
33 <div style=
"width:10px;"></div>