| <!DOCTYPE html> <!-- webkit-test-runner [ AsyncOverflowScrollingEnabled=true ] --> |
| <meta name="viewport" content="width=device-width, initial-scale=1"> |
| <script src="../../../resources/ui-helper.js"></script> |
| <script src="../resources/overflow-scroll-overlap.js"></script> |
| <body onload="runTest()"> |
| Test that scrollable areas with non-trivial overlap are correctly targeted. |
| <div class="overflowscroll target"> |
| <div class="scrollcontent"></div> |
| <div class="overlapping" style="visibility:hidden"> |
| <div class="overflowscroll target"> |
| <div class="scrollcontent"></div> |
| <div class="overlapping-empty" style="background-color:transparent"> |
| <div class="overflowscroll target"> |
| <div class="scrollcontent"></div> |
| <div class="overlapping" style="box-shadow: 0px 0px 32px 32px blue; left: 60px; top: 60px"> |
| <div class="overflowscroll target"> |
| <div class="scrollcontent"></div> |
| <div class="overlapping" style="pointer-events:none"> |
| <div class="overflowscroll target"> |
| <div class="scrollcontent"></div> |
| <div class="overlapping" style="top:40px; left:40px; border-radius:50px; line-height:100px"> |