summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/floats/float-under-flatten-under-preserve-3d.html
blob: 18b6bbc122a5a67ced5a93fc0a00fec10d113ba2 (plain)
1
2
3
4
5
6
7
8
9
10
<!DOCTYPE html>
<link rel="match" href="../../reference/ref-filled-green-100px-square.xht">
<link rel="help" href="https://drafts.csswg.org/css2/visuren.html#float-position">
<link rel="help" href="https://crbug.com/1298871">
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
<div style="transform-style: preserve-3d">
  <div style="background: red; width: 100px; height: 100px">
    <div style="float: left; background: green; width: 100px; height: 100px"></div>
  </div>
</div>