Files
sousa-gecko/testing/web-platform/tests/css/css-transforms/overflow-perspective-ref.html
T
Emilio Cobos Álvarez 7619a268a5 Bug 2023621 - Fix line scrollable frame overflow with perspective. r=layout-reviewers,dshin
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
2026-03-25 15:41:55 +00:00

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>