4

you can see here http://jsfiddle.net/TKb6M/1/ overflow hidden does not work with position fixed relative or absolute. is this new? because i think i remember using thins in chrome and safari before and it worked fine.

nope
  • 1,060
  • 2
  • 15
  • 32

1 Answers1

0

The results are only visible when the child element is larger than the parent element overflow:hidden is applied to (or when the child element's position falls partially outside of the boundaries of the parent element). So in your example you're not seeing any difference because the child img and the parent #he both have the same width (70px).

Take a look at this update (the width of #he is changes to 30px): http://jsfiddle.net/TKb6M/10/

DADU
  • 6,482
  • 7
  • 42
  • 64
  • thanks but it was a bug only in that version, it should have cut the corners even with the same width and height, just like in all the other versions of chrome – nope May 25 '11 at 15:25