blob: e5edbaf9cfda7fb5c610e372a9c89cf2288dc846 [file] [log] [blame]
<!DOCTYPE html> <!-- webkit-test-runner [ AsyncOverflowScrollingEnabled=true ] -->
<html>
<head>
<style>
.wrapper {
overflow-x: hidden;
margin: 20px 50px;
}
.video {
width: 300px;
height: 100px;
will-change: transform;
}
.obscurer {
position: absolute;
top: 18px;
left: 48px;
width: 320px;
height: 120px;
background-color: gray;
}
.test {
position: relative;
width: 100%;
height: 300px;
background-color: green;
}
</style>
</head>
<body>
<section class="wrapper">
<div class="video"></div>
<div class="test">Some text here</div>
</section>
<!--Hide the video; we just want its side-effects -->
<div class="obscurer"></div>
</body>
</html>