<html>
<body>
This tests that leading and trailing spaces in a text field don't get lost.
There should be 3 spaces before and 3 spaces after the text in the field.<br><input id="tf" value="   foo bar   ">
</body>
</html>