summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-position/position-absolute-large-negative-inset.html
blob: ed17ea91d5e134d097fca9a600ee3f97872a1e00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<!DOCTYPE html>
<html>
  <title>CSS Position: Large negative box inset properties</title>
  <link rel="help" href="https://drafts.csswg.org/css-position-3/#insets">
  <link rel="match" href="position-absolute-large-negative-inset-ref.html">
  <meta name="assert" content="This test verifies a box with very large negative insets within an element with will-change: transform does not affect the rendering of the element."/>

  <style>
  html {
    will-change: transform;
  }

  span {
    position: absolute;
    left: -99999999999px;
  }

  div {
    background:green;
    width:50px;
    height:50px;
  }
  </style>
  <div></div>
  <span>negative inset text</span>
</html>