swa66 - 3:15 pm on Oct 23, 2013 (gmt 0)
there's ton in there that IE7 doesn't do properly (like setting both top and bottom on the same element. It's the usual case of IE legacy brain-dead design; the :after pseudo element, ...)
But IE7 is really starting to die out thanks to some big players deprecating their support for it.
Now if we can get rid of IE8 ...
The "test" class needing position relative is normal for absolute positioning to work. (absolute positioning works relative to the closest parent that has "positioning") . For the :after pseudo element that means the element itself.
But the good thing once you get rid of legacy IE versions is that position:relative doesn't do a thing. unless there's top/bottom/left/right on the element itself.