webkit transforms CSS and overflow
I have a div, in which its contents are being transformed using webkit css transforms. Now the div h开发者_开发技巧as overflow: hidden;
, but the contents after transformation keep showing up outside the div.
Why is this?
Without code it's hard to say, but remember that transforms happen after the rest has been drawn. That means that the transformed element will be moved from wherever it was ignoring overflow:hidden
as it's not overflowing, it's been transformed.
It is a bug in Chromium after all.
http://code.google.com/p/chromium/issues/detail?id=72309
精彩评论