IE7-/Win: line-height problem with inline images

IE7-/Win does not respect a set line-height in presence of an inline image. Test cases with small (less than normal) specified line-height.

The following paragraphs have line-height: 1, and except the first one they contain an inline image in the middle of the text (a black rectangle), with different vertical-align values: baseline, middle, top, bottom. In IE7-/Win the line where the image resides does not honor the line-height (line-height seems to revert to normal just for that line.)

1 xgijkx
2 xgijkx
3 xgijkx
4 xgijkx
5 xgijkx

1 xgijkx
2 xgijkx
3 a simple inline image xgijkx
4 xgijkx
5 xgijkx

1 xgijkx
2 xgijkx
3 a simple inline image xgijkx
4 xgijkx
5 xgijkx

1 xgijkx
2 xgijkx
3 a simple inline image xgijkx
4 xgijkx
5 xgijkx

1 xgijkx
2 xgijkx
3 a simple inline image xgijkx
4 xgijkx
5 xgijkx

Related tests:

CSS tests home