3 <title>FrameSet Rotation Hit Test
</title>
12 if (!window
.eventSender
|| !window
.internals
)
14 // Scale the page and resize the frames to verify hit testing on the frameset
15 var leftPanelWidth
= window
.innerWidth
/ 8;
16 var panelHeight
= window
.innerHeight
/ 2;
17 internals
.setPageScaleFactorLimits(0.5, 0.5);
18 internals
.setPageScaleFactor(0.5);
19 eventSender
.mouseMoveTo(panelHeight
/ 2, leftPanelWidth
);
20 eventSender
.mouseDown();
21 eventSender
.mouseMoveTo(panelHeight
/ 2, 2 * leftPanelWidth
);
22 eventSender
.mouseUp();
27 <!--rotate the frameset and translate it to make sure the entire frameset is visible after scaling-->
28 <frameset style=
"width: 4000px; height: 4000px; background-color: red; transform: rotate(90deg) translate(100px, 0px);" cols=
"25%,75%">
29 <frame src=
"data:text/html,<body bgcolor='green'></body>">
30 <frame src=
"data:text/html,<body bgcolor='green'></body>">