Webkit Converts CSS and Overflow

I have a div in which its contents are converted using webkit css transforms. Now the div has overflow: hidden;, but the content after the conversion continues to be displayed outside the div.

Why is this?

+3
source share
2 answers

It’s hard to say without code, but remember that conversions happen after the rest has been drawn. This means that the transformed element will be moved from any place where it was ignored overflow:hidden, since it does not overflow, it was transformed.

0
source

In Chromium, this is a mistake.

http://code.google.com/p/chromium/issues/detail?id=72309

0
source

Source: https://habr.com/ru/post/1765620/


All Articles