frame-move-keep-content-location-expected.html 415 B

123456
  1. <!DOCTYPE html>
  2. Tests paint offset adjustment of iframe content which is kept the original location when the iframe moves.
  3. Passes if the blue block stays at the same place after repaint.
  4. <iframe id="frame" style="position: absolute; top: 100px; width: 300px; height: 300px"
  5. srcdoc="<div id='content' style='position: absolute; top: 150px; width: 100px; height: 100px; background-color: blue'></div>">
  6. </iframe>