mirror of
https://github.com/zebrajr/ladybird.git
synced 2025-12-06 00:19:53 +01:00
...in clip and scroll frames calculation algorithm.
Fix a regression from 719a50c where display-list recording disagreed
with the clipping logic about whether a stacking context is transformed.
`has_css_transform()` returns true whenever the computed transform is
not `none`, which differs from an identity-matrix check. These yield
different results for cases like `translate(0, 0)`.
31 lines
636 B
HTML
31 lines
636 B
HTML
<!DOCTYPE html>
|
|
<link rel="match" href="../expected/overflow-hidden-8-ref.html" />
|
|
<meta name="fuzzy" content="maxDifference=0-1;totalPixels=0-70">
|
|
<style>
|
|
#outer {
|
|
width: 100px;
|
|
height: 100px;
|
|
overflow: hidden;
|
|
position: absolute;
|
|
border-radius: 9999px;
|
|
}
|
|
#middle {
|
|
overflow: hidden;
|
|
position: absolute;
|
|
transform: translateZ(0px);
|
|
right: 0;
|
|
bottom: 0;
|
|
left: 0;
|
|
top: 0;
|
|
}
|
|
#inner {
|
|
background-color: blueviolet;
|
|
position: absolute;
|
|
height: 100%;
|
|
left: 0;
|
|
top: 0;
|
|
bottom: 0;
|
|
right: 0;
|
|
width: 100%;
|
|
}
|
|
</style><div id="outer"><div id="middle"><div id="inner"> |