blob: c6bb2e1e679c529be1d8b7ed684b445a64d4b848 [file] [log] [blame]
<!DOCTYPE html>
<script src="../../resources/check-layout.js"></script>
html {
width: 800px;
table {
width: 100%;
border-spacing: 0px;
td {
height: 25px;
padding: 0px;
<body onload="checkLayout('iframe')">
<p>Bug <a href=''>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>
<table align="middle">
<div style="width:100%">
<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>