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
   27
   28
   29
   30
   31
   32
   33
   34
   35
   36
   37
   38
   39
   40

content / test / data / accessibility / css / transform.html [blame]

<!--
@BLINK-ALLOW:pageLocation=*
@WIN-ALLOW:location=*
@UIA-WIN-ALLOW:BoundingRectangle=(0, 50,*
@MAC-ALLOW:LocalPosition
@WAIT-FOR:done
-->
<!DOCTYPE html>
<html>
<head>
<style>
div, p {
  margin: 0;
  padding: 0;
  border: 0;
  top: 0;
  left: 0;
}
div {
  position: fixed;
}
#outer {
    transform: TranslateY(2px);
}
</style>
</head>
<body>

<div id="outer">
  <p>content</p>
</div>

<script>
  setTimeout(function() {
    document.getElementById("outer").style.transform = "translateY(50px)";
    document.title = 'done';
  }, 10);
</script>
</body>
</html>