Update web-platform-tests to revision b'ee6da9d71d0268d7fdb04e8e5b26858f46ee0cc4'

This commit is contained in:
WPT Sync Bot 2022-01-20 04:38:55 +00:00 committed by cybai
parent 4401622eb1
commit b77ad115f6
16832 changed files with 270819 additions and 87621 deletions

View file

@ -0,0 +1,35 @@
<!DOCTYPE html>
<html class="reftest-wait">
<link rel="help" href="https://drafts.csswg.org/css-position/#fixed-pos">
<link rel="help" href="https://crbug.com/1274414">
<link rel="match" href="position-fixed-scroll-overlap-ref.html">
<meta name="assert" content="The red fixed-position element should be always invisible
(covered by the green elements), regardless of viewport scroll offset">
<script src="/common/rendering-utils.js"></script>
<script src="/common/reftest-wait.js"></script>
<style>
.section {
width: 100px;
height: 2000px;
background: green;
position: relative;
z-index: 2;
}
</style>
<svg style="width: 100px; height: 1000px; position: fixed">
<rect width="200" height="2000" fill="red"/>
</svg>
<div class="section"></div>
<div class="section"></div>
<div class="section"></div>
<div class="section"></div>
<script>
waitForAtLeastOneFrame().then(() => {
window.scrollTo(0, 4000);
waitForAtLeastOneFrame().then(() => {
window.scrollTo(0, 0);
takeScreenshot();
});
});
</script>
</html>