Affected Versions
This bug affects: IE7
Symptoms
Elements with `overflow` set to either `hidden` or `auto` behave as if overflow was set to `visible` when descendants that are causing overflow have position: relative set on them
Date of the Tutorial
Mon Aug 17 15:51:12 2009
Description
Here's another bug I found on Gérard Talbot's IE7 Bug Collection Page. I shamelessly stole the image he was using in his demo, just because I think it's a brilliant way to demonstrate the bug (I hope he won't mind). What I would like to add to Gérard's bug description is that block-level elements fail to clip as well and the bug is equally present when { overflow: auto }
is used instead of { overflow: hidden; }
. Let's have a look: