forked from mirrors/gecko-dev
These tests only failed on android, probably because the visual viewport size is different so we get a different result from the scrollbar calculation. These tests seem to have an inconsistent mix of overflow: hidden and scrollbar-width: none. The desktop zooming scrollbars sometimes create scrollbars for overflow hidden now, so overflow hidden isn't enough, we need scrollbar-width: none. layout/reftests/transform/compound-1-fail.html is the only file modified here that doesn't have overflow hidden or scrollbar-width: none already. Looking at the test it does not seem to be wanting to be anti-ref because of scrollbars (the transformed item looks different), so this seems to be an improvement (ie we won't pass because only the scrollbar differed). Differential Revision: https://phabricator.services.mozilla.com/D90008
46 lines
823 B
HTML
46 lines
823 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta name="viewport" content="width=device-width, initial-scale=2.0">
|
|
<style>
|
|
html {
|
|
scrollbar-width: none;
|
|
}
|
|
body {
|
|
height: 3000px;
|
|
margin: 0;
|
|
}
|
|
div {
|
|
position: fixed;
|
|
height: 100px;
|
|
width: 100px;
|
|
}
|
|
div.top-left {
|
|
top: 20px;
|
|
left: 20px;
|
|
background: red;
|
|
}
|
|
div.top-right {
|
|
top: 20px;
|
|
right: 20px;
|
|
background: blue;
|
|
}
|
|
div.bottom-left {
|
|
bottom: 20px;
|
|
left: 20px;
|
|
background: green;
|
|
}
|
|
div.bottom-right {
|
|
bottom: 20px;
|
|
right: 20px;
|
|
background: purple;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="top-left"></div>
|
|
<div class="top-right"></div>
|
|
<div class="bottom-left"></div>
|
|
<div class="bottom-right"></div>
|
|
</body>
|
|
</html>
|