Bug 20563
| Summary: | Last line of document.write() text not displayed | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jeff Swartz <swartz> |
| Component: | DOM | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | swartz |
| Priority: | P2 | Keywords: | HasReduction, InRadar |
| Version: | 528+ (Nightly build) | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
Jeff Swartz
1. Write the following to an HTML file and open it in Safari-Win:
<html>
<script>
function onLoad() {
document.write("foo");
document.write("<br/>");
document.write("bar");
}
</script>
<body onload="onLoad();">
</body>
</html>
2. The "foo" line is visible. The "bar" line isn't.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Mark Rowe (bdash)
<rdar://problem/6184271>
mitz
*** This bug has been marked as a duplicate of 8961 ***