<!DOCTYPE html> | |
<html> | |
<head> | |
<script src="../../resources/ahem.js"></script> | |
<script src="../../resources/run-after-layout-and-paint.js"></script> | |
<script src="resources/selection.js"></script> | |
<style> | |
div { | |
font-family: Ahem; | |
} | |
</style> | |
</head> | |
<body onload="selectRangeAfterLayoutAndPaint(container, 0, container2, 0);"> | |
<!-- Two blocks each with one line. Selection should include space | |
representing a newline at end of the first line. --> | |
<div id="container"> | |
a | |
</div> | |
<div id="container2"> | |
b | |
</div> | |
</body> |