2 Test for
<i><a href=
"rdar://problem/8119781">rdar://problem/
8119781</a>
3 Crash zooming into Word document at office.live.com
</i>.
6 The test passes if it does not crash. To test in Safari, make sure View
> Zoom Text Only is
<i>not
</i> selected,
7 then choose View
> Zoom In.
9 <iframe id=
"iframe"></iframe>
11 var iframe
= document
.getElementById("iframe");
12 var target
= iframe
.contentDocument
.body
.appendChild(iframe
.contentDocument
.createElement("input"));
13 target
.style
.overflow
= "hidden";
14 iframe
.contentWindow
.addEventListener("resize", function(event
) {
15 if (target
.parentNode
)
16 target
.parentNode
.removeChild(target
);
19 document
.body
.offsetTop
;
21 if (window
.testRunner
) {
22 testRunner
.dumpAsText();
23 eventSender
.zoomPageIn();