blob: ff1c1f9b38af309d5d7b466c77323f9002a23ede [file] [log] [blame] [edit]
<!DOCTYPE html>
<script src="../../resources/ahem.js"></script>
<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
<script src="../../resources/run-after-layout-and-paint.js"></script>
<script src="resources/selection.js"></script>
<script>
// Selects two lines with top one ending in a line break and expects a newline
// to be represented.
function repaintTest() {
selectRange(container, 0, container, 3);
};
window.onload = runRepaintTest;
</script>
<style>
div {
font-family: Ahem;
}
</style>
<div id="container">
a<br>b
</div>