Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CSS transform break hidden overflow on border-radius #35

Open
renatahodovan opened this issue Nov 4, 2013 · 0 comments
Open

CSS transform break hidden overflow on border-radius #35

renatahodovan opened this issue Nov 4, 2013 · 0 comments

Comments

@renatahodovan
Copy link

If we are applying a CSS transform on an element inside a div with overflow:hidden and a border-radius, its children will not be masked anymore.
The problem is only appear on NIX, WebKit trunk (tested on EFL build) works fine.

Test case:

<style>

.outer {
    border: 4px solid #000;
    width: 100px;
    height: 100px;
    border-radius: 40px;
    overflow: hidden;
}

.inner {
    width: 80px;
    height: 80px;
    background-color: #aaf;
    padding: .5em;
}

.rotate3d {
    -webkit-transform: rotateY(0deg);
}

</style>


<div class = "outer">
    <div class = "inner">no transform</div>
</div>

<br>

<div class = "outer">
    <div class = "inner rotate3d">rotateY(0)</div>
</div>

Bug reports related to this issue from bugzilla and chromium issue tracker:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant