<!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; | |
width: 2em; | |
} | |
</style> | |
</head> | |
<body onload="selectRange(container, 0, container, 1);"> | |
<!-- Two lines in one block which should wrap and include space representing | |
a newline only at the end of the first line. --> | |
<div id="container"> | |
xx y | |
</div> | |
</body> |