<!DOCTYPE html>
<script src="../../resources/ahem.js"></script>
<script src="../../resources/run-after-layout-and-paint.js"></script>
<script src="resources/selection.js"></script>
<style>
body { background-color: lightgreen; }
</style>
<!-- Two lines in one block explicitly wrapped with a br which should
include space representing a newline at end of the first line. -->
<div id="container" style="font-family: Ahem;">
a<br>b
</div>
<script>
onload = selectRangeAfterLayoutAndPaint(container, 0, container, 3);
</script>