| Index: LayoutTests/paint/overflow/fixed-children-should-not-scroll.html
|
| diff --git a/LayoutTests/paint/overflow/fixed-children-should-not-scroll.html b/LayoutTests/paint/overflow/fixed-children-should-not-scroll.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5bb579a865f6364b6040ed7c9dad5e90bd268663
|
| --- /dev/null
|
| +++ b/LayoutTests/paint/overflow/fixed-children-should-not-scroll.html
|
| @@ -0,0 +1,38 @@
|
| +<!DOCTYPE html>
|
| +<script src="../../resources/run-after-display.js"></script>
|
| +<style>
|
| +#bloat {
|
| + height: 10000px;
|
| +}
|
| +
|
| +#fixed {
|
| + position: fixed;
|
| + left: 300px;
|
| + top: 200px;
|
| + width: 100px;
|
| + height: 100px;
|
| + background-color: green;
|
| +}
|
| +
|
| +#fixed-child {
|
| + margin-left: 25px;
|
| + margin-top: 25px;
|
| + width: 50px;
|
| + height: 50px;
|
| + background-color: blue;
|
| +}
|
| +
|
| +::-webkit-scrollbar {
|
| + width: 0px;
|
| + height: 0px;
|
| +}
|
| +</style>
|
| +<div id="bloat"></div>
|
| +<div id="fixed">
|
| + <div id="fixed-child"></div>
|
| +</div>
|
| +<script>
|
| +runAfterDisplay(function() {
|
| + window.scrollTo(0, 100);
|
| +}, true);
|
| +</script>
|
|
|