<!DOCTYPE html> | |
<script src="../../resources/run-after-layout-and-paint.js"></script> | |
<script src="resources/selection.js"></script> | |
<p>Passes if there are no overpainted selection highlights.</p> | |
<div id="demo" dir="rtl" style="font-size: 400%;">a<br><br></div> | |
<script> | |
selectRangeAfterLayoutAndPaint(demo, 0, demo, 2); | |
</script> |