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

content / test / data / frame_tree / page_with_content_overlap_positioned_frame.html [blame]

<!DOCTYPE html>
<style>
iframe {
  position:absolute;
  top: 50px;
  left: 50px;
  width: 100px;
  height: 100px;
}

div {
  position: absolute;
  top: 50px;
  left: 50px;
  width: 70px;
  height: 20px;
  background-color: red;
  z-index: 100;
}

</style>
<html>
<body>
<iframe src="/cross-site/baz.com/title1.html"></iframe>
This page contains a positioned cross-origin iframe.
<div>x</div>
</body>
</html>