| Index: LayoutTests/paint/overflow/fixed-background-scroll-in-frame.html
|
| diff --git a/LayoutTests/paint/overflow/fixed-background-scroll-in-frame.html b/LayoutTests/paint/overflow/fixed-background-scroll-in-frame.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6a052eff33f504e294fa283640665c83c9fa134c
|
| --- /dev/null
|
| +++ b/LayoutTests/paint/overflow/fixed-background-scroll-in-frame.html
|
| @@ -0,0 +1,19 @@
|
| +<!DOCTYPE html>
|
| +Tests painting of fixed background content in scrolled container.
|
| +Passes if the background doesn't scroll.
|
| +<div style="position: absolute; top: 100px; left: 100px; width: 400px; height: 400px; backface-visibility: hidden">
|
| + <iframe style="width: 300px; height: 300px" srcdoc="
|
| + <style>
|
| + ::-webkit-scrollbar {
|
| + display: none;
|
| + }
|
| + </style>
|
| + <div id='container' style='width: 200px; height: 200px; overflow: scroll'>
|
| + <div id='content' style='height: 2000px; background: linear-gradient(red, blue); background-attachment: fixed'></div>
|
| + </div>
|
| + <script>
|
| + onload = function() {
|
| + container.scrollTop = 1000;
|
| + };
|
| + </script>"></iframe>
|
| +</div>
|
|
|