Safari 3 and 4 whitespace and border right bug

If a element is floated right or left in Safari 3 and 4, the border-right of an inline element does not render. The space is still preserved but this allows any background color to be shown on the parent floated element. In these demos the border-right of the inline elements is lime and the background for the parent floated element is red.

With anchors

1a Text.......
clear
1b Text.......
clear

With spans

2a Text.......
clear
2b Text.......
clear

With divs is display:inline;

3a Text.......
clear
3b Text.......
clear
3a Text.......
clear
3b Text.......
clear

With anchors

1a Text.......
clear
1b Text.......
clear

With spans

2a Text.......
clear
2b Text.......
clear

With divs is display:inline;

3a Text.......
clear
3b Text.......
clear
3a Text.......
clear
3b Text.......
clear