summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/padding-overflow-crash.html
blob: 163be06a91758492002a8505c346103cf0a0b4cc (plain)
1
2
3
4
5
6
7
8
9
10
<!DOCTYPE html>
<link rel="author" title="David Grogan" href="mailto:dgrogan@chromium.org">
<link rel="help" href="https://www.w3.org/TR/css-flexbox-1/#layout-algorithm">
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
<meta name="assert" content="Item's size includes padding even when there is overflow:hidden. Chrome crashed on this.">
<p>Test passes if there is a filled green square.</p>

<div style="display: flex">
  <div style="padding: 50px; background: green; overflow: hidden;"></div>
</div>