| Index: third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-with-fixed-position-scrolled.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-with-fixed-position.html b/third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-with-fixed-position-scrolled.html
|
| similarity index 57%
|
| copy from third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-with-fixed-position.html
|
| copy to third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-with-fixed-position-scrolled.html
|
| index f028d8c3bf68211bd1dbe4616256a3680c9aca3d..d4fd8d6eec697c87111e6c3a09b2517348b9af41 100644
|
| --- a/third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-with-fixed-position.html
|
| +++ b/third_party/WebKit/LayoutTests/fast/css/containment/paint-containment-with-fixed-position-scrolled.html
|
| @@ -6,18 +6,28 @@ div {
|
| }
|
| .container {
|
| contain: paint;
|
| - background-color: green;
|
| + background-color: red;
|
| }
|
| .fixed {
|
| position: fixed;
|
| top: 0px;
|
| - left: 100px;
|
| - background-color: red;
|
| + left: 0px;
|
| + background-color: green;
|
| }
|
| .inline {
|
| display: inline-block;
|
| }
|
| +.spacer {
|
| + position:absolute;
|
| + height: 2000px;
|
| +}
|
| </style>
|
| +<script>
|
| +onload = function() {
|
| + window.scrollTo(0, 25);
|
| +};
|
| +</script>
|
| <body>
|
| +<div class="spacer"></div>
|
| <div class="container"><div class="fixed"></div></div>
|
| -<div class="container inline"><div class="fixed"></div></div>
|
| +<div class="container inline"><div class="fixed"></div></div>
|
|
|