summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/inline-block/overflow-clip.html
blob: a7c3916a29e4034def35d042f55919c56539315f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<html>
<head></head>
<body>
<p>
This is a test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=8118">http://bugzilla.opendarwin.org/show_bug.cgi?id=8118</a>
REGRESSION (r13595): Inline block's clipped overflow increases table row height</i>.
</p>
<p>
You should see a green square and no red.
</p>
<table style="background: red;" cellpadding="0" cellspacing="0">
    <tr>
        <td>
            <div style="display: inline-block; overflow: hidden; height: 100px; width: 100px;">
                <div style="width: 100px; height: 200px; background: green;"></div>
            </div>
        </td>
    </tr>
</table>
</body>
</html>