<!DOCTYPE html> | |
<script src="../../../fast/repaint/../../resources/run-after-layout-and-paint.js"></script> | |
<style> | |
img { | |
vertical-align: text-bottom; | |
width: 50px; | |
height: 50px; | |
} | |
div { | |
position: absolute; | |
top: 300px; | |
left: 100px; | |
} | |
</style> | |
Tests paint invalidation of selection when its cleared after the container is moved.<br> | |
Passes if no selection left. | |
<div id="div"> | |
<img></img> | |
</div> |