Bug 20563 - Last line of document.write() text not displayed
Summary: Last line of document.write() text not displayed
Status: RESOLVED DUPLICATE of bug 8961
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL:
Keywords: HasReduction, InRadar
Depends on:
Blocks:
 
Reported: 2008-08-28 15:40 PDT by Jeff Swartz
Modified: 2008-08-28 18:35 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Swartz 2008-08-28 15:40:49 PDT
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.
Comment 1 Mark Rowe (bdash) 2008-08-28 18:02:25 PDT
<rdar://problem/6184271>
Comment 2 mitz 2008-08-28 18:35:53 PDT

*** This bug has been marked as a duplicate of 8961 ***