mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 03:35:33 +00:00
10aa613485
Differential Revision: https://phabricator.services.mozilla.com/D13347 --HG-- extra : moz-landing-system : lando
39 lines
656 B
HTML
39 lines
656 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Testcase for Bug 1501342</title>
|
|
<style>
|
|
.panel {
|
|
height:100%;
|
|
overflow:hidden;
|
|
position:fixed;
|
|
right:0;
|
|
}
|
|
.scrollable {
|
|
height:100%;
|
|
overflow-y:hidden;
|
|
}
|
|
.sticky {
|
|
position:sticky;
|
|
top:0;
|
|
height: 50px;
|
|
width: 100px;
|
|
background: red;
|
|
}
|
|
.content {
|
|
margin-top: -50px;
|
|
height:2000px;
|
|
width:200px;
|
|
background:green;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="panel">
|
|
<div class="scrollable">
|
|
<div class="sticky"></div>
|
|
<div class="content"></div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |