mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
b04c5a5091
In nsDisplayTransform::CreateWebRenderCommands we should be rounding the translation from the reference frame if there is no other transformation to better match non-WebRender which performs similar rounding in ChooseScaleAndSetTransform. Differential Revision: https://phabricator.services.mozilla.com/D14265
32 lines
440 B
HTML
32 lines
440 B
HTML
<html reftest-zoom="1.1">
|
|
<head>
|
|
<style type="text/css">
|
|
.parent {
|
|
display: flex;
|
|
transform: translate3d(0px, 0px, 0px);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.bg {
|
|
background-color: lime;
|
|
width: 200px;
|
|
height: 200px;
|
|
transform: scale(1.05);
|
|
}
|
|
|
|
.bg_overlay {
|
|
background-color: red;
|
|
width: 100px;
|
|
height: 100px;
|
|
position: absolute;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="parent">
|
|
<div class="bg"></div>
|
|
<div class="bg_overlay"></div>
|
|
</div>
|
|
</body>
|
|
</html>
|