| Index: LayoutTests/fast/css/sticky/sticky-top-overflow-scroll-by-fragment-expected.html
|
| diff --git a/LayoutTests/fast/css/sticky/sticky-top-overflow-expected.html b/LayoutTests/fast/css/sticky/sticky-top-overflow-scroll-by-fragment-expected.html
|
| similarity index 74%
|
| copy from LayoutTests/fast/css/sticky/sticky-top-overflow-expected.html
|
| copy to LayoutTests/fast/css/sticky/sticky-top-overflow-scroll-by-fragment-expected.html
|
| index f87b967722438376c211d07fa4b285268b8c775c..1b638b2b65d5609ad0560475214e939ac7e1d24f 100644
|
| --- a/LayoutTests/fast/css/sticky/sticky-top-overflow-expected.html
|
| +++ b/LayoutTests/fast/css/sticky/sticky-top-overflow-scroll-by-fragment-expected.html
|
| @@ -14,12 +14,13 @@
|
| height: 550px;
|
| overflow: hidden;
|
| border: 1px solid black;
|
| + position: relative;
|
| }
|
|
|
| .spacer {
|
| float: left;
|
| width: 10px;
|
| - height: 1200px;
|
| + height: 500px;
|
| }
|
| .container {
|
| width: 100px;
|
| @@ -32,6 +33,14 @@
|
| height: 200px;
|
| }
|
|
|
| + .hash {
|
| + width: 600px;
|
| + height: 10px;
|
| + background-color: gray;
|
| + position: absolute;
|
| + border: 0px;
|
| + }
|
| +
|
| .sticky {
|
| position: relative;
|
| top: 100px;
|
| @@ -40,8 +49,6 @@
|
| </style>
|
| </head>
|
| <body>
|
| -This test checks that sticky positioned elements are contained by their enclosing ancestor with an overflow clip.
|
| -There should be no red.
|
| <div id="overflow">
|
| <div class="spacer"></div>
|
|
|
| @@ -62,6 +69,13 @@ There should be no red.
|
| <div class="sticky box" style="top: 0"></div>
|
| </div>
|
| </div>
|
| + <div id="hash" class="hash" style="top: -1px;">
|
| + </div>
|
| + </div>
|
| + <div style="position: absolute; top: 560px;">
|
| + This test checks that sticky positioning when scrolled by fragment.
|
| + There should be no red.
|
| </div>
|
| </body>
|
| </html>
|
| +
|
|
|