This tests for a regression against http://bugzilla.opendarwin.org/show_bug.cgi?id=6418 Incorrect scrollbar when using overflow:auto and word-wrap:break-word; in some cases.


The first line should break after “Lorem”.

Lorem ipsum dolor

The first line should break after the letter u, so that the gray border does not extend beyond the cyan box.

Loremipsum

The first line should break after the letter p, so that the text does not extend beyond the cyan box.

Loremipsum

“Dolor” should not break into two lines.

Dolor