4 <link rel=
"stylesheet" href=
"compositor-touch-hit-rects.css">
9 .testcase, .testcase * {
10 border:
1px solid red;
26 <div id='fixed' class='testcase'
>
27 Fixed-position div inside iframe
29 <div class='spacer'
></div>
31 if (window
.testRunner
)
32 document
.documentElement
.setAttribute('dumpRenderTree', 'true');
34 function handler() {};
35 frameElement
.addHandlers = function() {
36 document
.getElementById('fixed').addEventListener('touchstart', handler
, false);
38 frameElement
.removeHandlers = function() {
39 document
.getElementById('fixed').removeEventListener('touchstart', handler
, false);
41 // Scrolling shouldn't affect the fixed-position div
42 document
.scrollingElement
.scrollTop
= 105;