The optimization where we avoid UpdateOverflow if clipped on both axes is not sound, because it has side effects like updating nsBlockFrame's line overflow. Also, make the recursive path update overflows of anonymous boxes like the scrolled frame. Differential Revision: https://phabricator.services.mozilla.com/D289548
23 lines
438 B
HTML
23 lines
438 B
HTML
<!DOCTYPE html>
|
|
<meta charset="UTF-8">
|
|
<title>CSS Test (Transforms): Perspective with overflow - reference</title>
|
|
<style>
|
|
#container {
|
|
width: 300px;
|
|
height: 300px;
|
|
overflow: visible;
|
|
perspective: 1000px;
|
|
}
|
|
|
|
#child {
|
|
width: 60px;
|
|
height: 60px;
|
|
background: lime;
|
|
transform: translateX(100px) translateY(140px) translateZ(550px);
|
|
transform-origin: top left;
|
|
}
|
|
</style>
|
|
<div id="container">
|
|
<div id="child"></div>
|
|
</div>
|