position-relative-012.html (658B)
1 <!DOCTYPE html> 2 <link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1227884"> 3 <link rel="match" href="../reference/ref-filled-green-100px-square-only.html"> 4 <meta name="assert" content="top: 100% doesn't resolves against the specified parent height (not the used height)."> 5 <p>Test passes if there is a filled green square.</p> 6 <table style="border-spacing: 0; background: red; height: 10px;"> 7 <tbody style="position: relative; top: 100%;"> 8 <tr> 9 <td style="padding: 0;"> 10 <div style="position: relative; top: -10px; width: 100px; height: 100px; background: green;"></div> 11 </td> 12 </tr> 13 </tbody> 14 </table>