Update layout tests to deal with trailing whitespace at the end of a document properly.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@10580 268f45cc-cd09-0410-ab3c-d52691b4dbfc