gecko-dev/layout/reftests/bugs/1544895.html

40 строки
814 B
HTML

<html reftest-async-scroll>
<head>
<style>
body {
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
}
.header {
background-color: white;
flex: none;
}
.content {
flex: auto;
overflow-y: scroll;
}
.inner-content {
height: 2000px;
}
.shadowy {
text-shadow: 0px 0px 1px green;
}
</style>
</head>
<body>
<div class="header"> Wow, This is a Great Header! </div>
<div class="content"
reftest-displayport-x="0" reftest-displayport-y="0"
reftest-displayport-w="800" reftest-displayport-h="1075"
reftest-async-scroll-y="75">
<div class="inner-content">
<p>Wow, This is Great Content!</p>
<p class="shadowy">Wow, This is Great Shadowy Content!</p>
<p>Wow, This is Great Visible Content!</p>
</div>
</div>
</body>
</html>