Bug 20563

Summary: Last line of document.write() text not displayed
Product: WebKit Reporter: Jeff Swartz <swartz>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: swartz
Priority: P2 Keywords: HasReduction, InRadar
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Windows XP   

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 ***