summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/stacking-context/zindex-affects-block-in-inline.html
blob: 5a5c9e3dcca6171910f85790e13dc754acda58e0 (plain)
1
2
3
4
5
6
7
<!DOCTYPE html>
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=764458">
<link rel="match" href="zindex-affects-block-in-inline-ref.html">
<div style="position: relative; z-index: 1; background: red; width: 100px; height: 100px;"></div>
<span style="position: relative; z-index: 2; top: -100px;">
  <div style="background: green; width: 100px; height: 100px;"></div>
</span>