Test for http://bugs.webkit.org/show_bug.cgi?id=15208 display:table causes the collapsed text to show at a different position when expanded.
This should say “Lorem ipsum”: