Word division problem:
IE 8 may split before a hyphen

This document is the same as the base document that exhibits the problem, except that this contains the tag
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">
which makes the problem go away–as regards to the common hyphen.

Internet Explorer 8 may divide text into lines so that a line break occurs before a hyphen (technically, HYPHEN-MINUS, U+002D). It is difficult to see any justification for this.

The following box should demonstrate this behavior, when viewed on IE 8. It contains the simple string “foo-ba” and has style sheet settings that (try to) impose a particular font and width of the box.

foo-ba

The U+2010 HYPHEN character has the same problem:

foo‐ba

You can also use the following test text, viewing it with different browser window widths. On IE 8, depending on the width, a line break may appear either before or after a hyphen.

Test text with lots of hyphens: foo-bar foo-bar foo-bar foo-bar foo-bar foo-bar foo-bar foo-bar foo-bar foo-bar foo-bar foo-bar foo-bar foo-bar foo-bar foo-bar foo-bar foo-bar foo-bar foo-bar foo-bar foo-bar foo-bar foo-bar.