| <!-- webkit-test-runner [ useThreadedScrolling=false internal:AsyncOverflowScrollingEnabled=true ] --> |
| <!DOCTYPE html> |
| <html> |
| <head> |
| <meta name=viewport content="width=device-width"> |
| <style> |
| .scrollable { |
| overflow: scroll; |
| -webkit-overflow-scrolling: touch; |
| width: 300px; |
| height: 300px; |
| } |
| .container { |
| overflow: hidden; |
| } |
| .indicator { |
| position: relative; |
| top: 100px; |
| background-color: red; |
| } |
| .box { |
| width: 100px; |
| height: 100px; |
| } |
| </style> |
| </head> |
| |
| <body> |
| <!-- Expect no red (a blank page) --> |
| <div class="scrollable"> |
| <div class="container box"> |
| <div class="indicator box"></div> |
| </div> |
| </div> |
| </body> |
| |
| </html> |