summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/old-tests/webdriver/element_state/res/element-moved-outside-viewport-by-transform.html
blob: 51f6ee89f2fb2ff9bc14a624f0e0cd34271586d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<!DOCTYPE html>
<meta charset="utf-8" />
<title>Element moved outside viewpor by transform</title>

<style>
  div {
    transform: translate(-200px, -200px);

    /* fix your browsers god damnit */
    -webkit-transform: translate(-200px, -200px);
    -moz-transform: translate(-200px, -200px);
  }
</style>

<div>Cheddar!</div>