summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/CSS2/positioning/abspos-inline-container-in-inline-block.html
blob: 04eb1416f701872d56d7ad370a377779654d792d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css2/visuren.html#propdef-position">
<link rel="author" title="Koji Ishii" href="mailto:kojii@chromium.org">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div>
  <span style="border: 1px solid blue">
    <span style="position: relative">
      <span style="display: inline-block">
        <span style="position: absolute; background: orange; width: 100px; height: 100px"></span>
      </span>
    </span>
  </span>
</div>
<script>
// Test pass if it does not crash.
test(() => {});
</script>