Files
sousa-gecko/testing/web-platform/tests/css/css-transforms/overflow-perspective-001.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

28 lines
782 B
HTML

<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Test: Perspective with overflow: auto</title>
<link rel="author" title="Mozilla" href="https://mozilla.com">
<link rel="author" title="Yannis Juglaret" href="mailto:yjuglaret@mozilla.com">
<link rel="help" href="https://drafts.csswg.org/css-transforms-2/#perspective-property">
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=2023621">
<link rel="match" href="overflow-perspective-ref.html">
<style>
#container {
width: 300px;
height: 300px;
overflow: auto;
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>