Bug 1941024 - Add a failing test case. r=mstange

Differential Revision: https://phabricator.services.mozilla.com/D235705
This commit is contained in:
Botond Ballo
2025-02-04 01:44:59 +00:00
parent d2161c8af3
commit ac4e11e076
3 changed files with 40 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<style>
.unclipped {
height: 100px;
width: 200px;
background: cyan;
}
</style>
<div class="unclipped">
</div>

View File

@@ -0,0 +1,29 @@
<!DOCTYPE html>
<style>
.scroll {
overflow: scroll;
scrollbar-width: none;
width: 100px;
height: 100px;
}
.spacer {
height: 200%;
width: 100%;
}
.sticky {
position: sticky;
}
.fixed {
position: fixed;
height: 100px;
width: 200px;
background: cyan;
}
</style>
<div class="scroll">
<div class="sticky">
<div class="fixed">
</div>
</div>
<div class="spacer"></div>
</div>

View File

@@ -53,3 +53,4 @@ fuzzy(0-1,0-220) == block-in-inline-3.html block-in-inline-3-ref.html
skip-if(useDrawSnapshot) fails-if(useDrawSnapshot) fuzzy-if(Android,0-8,0-9) fuzzy-if(cocoaWidget,7-8,18-42) fuzzy-if(cocoaWidget&&isDebugBuild&&!swgl,0-14,0-31) fuzzy-if(gtkWidget,10-21,12-32) == transformed-2.html transformed-2-ref.html # Bug 1604644, Bug 1934906
skip-if(useDrawSnapshot) fails-if(useDrawSnapshot) fuzzy-if(Android,0-14,0-17) fuzzy-if(cocoaWidget,13-16,20-44) fuzzy-if(cocoaWidget&&isDebugBuild&&!swgl,0-29,0-36) fuzzy-if(gtkWidget,19-37,12-32) == nested-sticky-1.html nested-sticky-1-ref.html # Bug 1604644, Bug 1934906
skip-if(useDrawSnapshot) fails-if(useDrawSnapshot) fuzzy-if(Android,0-14,0-96) fuzzy-if(cocoaWidget,13-16,20-44) fuzzy-if(cocoaWidget&&isDebugBuild&&!swgl,0-29,0-36) fuzzy-if(gtkWidget,19-37,12-32) == nested-sticky-2.html nested-sticky-2-ref.html # Bug 1604644, Bug 1934906
skip == fixed-inside-sticky-clip.html fixed-inside-sticky-clip-ref.html # should be fixed by bug 1730749