10 if (window
.testRunner
)
11 testRunner
.dumpAsText();
13 var result
= document
.getElementById("result");
14 var target
= document
.getElementById("target");
16 document
.body
.offsetTop
;
17 result
.appendChild(document
.createTextNode(target
.innerHTML
));
21 <body onload=
"test()">
23 Test for
<i><a href=
"http://bugs.webkit.org/show_bug.cgi?id=13091">http://bugs.webkit.org/show_bug.cgi?id=
13091</a>
24 REGRESSION (r20075): Wrong text style and pixel break in Apple Store Locator HUD
</i>.
27 This tests that
<tt>.innerHTML
</tt> does not introduce additional inline style.
30 The following markup should not include a
<tt>style
</tt> attribute:
32 <div id=
"target"><span></span></div>
33 <pre id=
"result"></pre>