A container with a border-radius and overflow "hidden" does not hide the nested elements
Reported by
kyber...@gmail.com,
Nov 10 2017
|
|||
Issue description
UserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.104 Safari/537.36
Steps to reproduce the problem:
Start html:
<html>
<head>
<style>
#wrapper {
position: absolute;
overflow: hidden;
border-radius: 50%;
height: 300px;
width: 300px;
background: red;
}
#inner {
position: absolute;
background: black;
height: 50%;
width: 100%;
}
</style>
</head>
<body>
<div id = "transform" style = "transform: rotateY(0deg);"></div>
<div id = "wrapper">
<div id = "inner"></div>
</div>
</body>
</html>
What is the expected behavior?
Should be a circle divided into two halves, one in black, the other in red.
What went wrong?
As a result, the nested element #inner was not trim by the parent #wrapper
Did this work before? N/A
Does this work in other browsers? N/A
Chrome version: 59.0.3071.104 Channel: n/a
OS Version:
Flash Version: Shockwave Flash 27.0 r0
If the block #transform is placed after the block #wrapper, everything will be as expected.
If all the styles are rendered in a separate file, everything will be as expected.
,
Nov 13 2017
"Able to reproduce the issue on reported chrome version 59.0.3071.104 and on the latest stable 62.0.3202.94 using ubuntu 14.04, Windows 10 and Mac 10.12.6. As the issue is not seen in latest dev 64.0.3266.0, hence providing reverse bisect. Manual Reverse Bisect info: -------------------------------------- Good Build: 63.0.3239.0 - Revision(508578) Bad Build : 63.0.3238.0 - Revision(508208) You are probably looking for a change made after 508328 (known good), but no later than 508329 (first known bad). CHANGELOG URL: https://chromium.googlesource.com/chromium/src/+log/6c83d8de501b554f57128b285c5f91275b85ab08..8ff2371257ac4f24d77da4a62569840a53c49b47 Probably fixed by :https://chromium-review.googlesource.com/699170 @schenney:Could you please confirm if its safe to merge to M-62 in case we have stable refresh? "
,
Nov 13 2017
The is discussion about the fix for this. It caused a significant performance regression and the fix for that performance regression would be the one to merge back. Given we are still deciding on an M-63 merge, it seems unlikely we'll do M-62. It is also the case that this has been broken for a long time and has a simple workaround: remove the inline transform and put it in a style block. So reducing the priority.
,
Nov 15 2017
I think the proper fix is: https://chromium-review.googlesource.com/c/chromium/src/+/772081
,
Dec 4 2017
|
|||
►
Sign in to add a comment |
|||
Comment 1 by mikelawther@chromium.org
, Nov 12 2017Labels: Needs-Bisect