blob: b723e0d9cb09574850f268e79cb65f9157aff00d [file] [log] [blame]
<!DOCTYPE html>
.container {
position: relative;
top: 180px;
This test checks that the selection in an iframe in a relative positioned container
is correctly invalidated.
We should be able to manually select all the text. The invalidation rects should
be positioned correctly and encompass all the lines.
<div class="container">
<iframe src="../resources/selection-change-in-iframe-with-relative-parent-iframe.html"></iframe>
<script src="../resources/text-based-repaint.js" type="text/javascript"></script>
function repaintTest()
var iframe = document.getElementsByTagName("iframe")[0];
window.addEventListener("load", runRepaintAndPixelTest, false);