Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(687)

Side by Side Diff: LayoutTests/fast/events/resources/body-overflow-iframe.html

Issue 1289753006: Fallback to root layer if hit-testing does not hit anything in iframe (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <style>
3 html, body {
4 height: 100px;
5 width: 100px;
6 background: green;
7 padding: 0;
8 margin: 0;
9 }
10
11 div#child {
12 position: relative;
13 top : 700px;
14 width: 50px;
15 height: 300px;
16 background: red;
17 }
18
19 </style>
20 <body>
21 <div id='child'></div>
22 </body>
23
24 <script>
25 document.addEventListener("contextmenu", function(){
26 top.debug("PASS context_menu_triggered in iframe");
27 });
28
29 window.onload = function(evt) {
30 document.body.scrollTop = "1000";
31 top.debug("iframe's scroll top is " + document.body.scrollTop);
32 top.postMessage("subframe-loaded", "*");
33 }
34
35 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698