3 <title>Frame Scale Hit Test
</title>
13 if (!window
.eventSender
|| !window
.internals
)
15 // Scale the page and resize the frames to verify hit testing on the frameset
16 var leftPanelWidth
= window
.innerWidth
/ 8;
17 var panelHeight
= window
.innerHeight
/ 2;
18 internals
.setPageScaleFactorLimits(0.5, 0.5);
19 internals
.setPageScaleFactor(0.5);
20 eventSender
.mouseMoveTo(leftPanelWidth
, panelHeight
/ 2);
21 eventSender
.mouseDown();
22 eventSender
.mouseMoveTo(2 * leftPanelWidth
, panelHeight
/ 2);
23 eventSender
.mouseUp();
28 <frameset style=
"width: 4000px; height: 4000px; background-color: red; -webkit-transform-origin: 0% 0%;" cols=
"25%,75%">
29 <frame src=
"data:text/html,<body bgcolor='green'></body>">
30 <frame src=
"data:text/html,<body bgcolor='green'></body>">