<html><head><style>p{margin-top:0px;margin-bottom:0px;}</style></head><body><div style="font-size:9pt; font-family:ëëęł ë, NanumGothic, sans-serif;"><p>Hi Everyone,</p><p> </p><p>A web page that I'm testing with webkit, uses two event listeners about load event.</p><p>It registered those by assigning to window.onload and setting as an 'onload' attribute of body element.</p><p> </p><p>On webkit, last registered one replaces previous one, in this case 'onload' attribute wins.</p><p>I checked other browsers, but only chrome permits two listeners on same event type.</p><p> </p><p>I googled and found out that it's DOM Level 0 event handling.</p><p>And I'm wondering this is a webkit bug when using a mix of <span style="font-size: 9pt; line-height: 1.5;">traditional model and </span><span style="font-size: 9pt; line-height: 1.5;">inline model (</span>as referred to below),<span style="font-size: 9pt; line-height: 1.5;"> or implementor dependent.</span></p><p> </p><p><a href="https://en.wikipedia.org/wiki/DOM_events#DOM_Level_0">https://en.wikipedia.org/wiki/DOM_events#DOM_Level_0</a> </p><p> </p><p><html> </p><p><head> </p><p><title>onloadload</title> </p><p><script type="text/javascript"> </p><p>function load() {</p><p> alert("body.onload");</p><p>}</p><p>window.onload = function () { // traditional model</p><p> alert("window.onload");</p><p>};</p><p></script> </p><p></head> </p><p><body onload="load()"> <!-- inline model --></p><p><p>onload.</p> </p><p></body> </p><p></html> </p><p> </p><p>Thanks in advance.</p><p>jongdeok.</p><p> </p></div></body></html>
<table style="display:none"><tr><td><img src="http://ack.mail.navercorp.com/readReceipt/notify/?img=XdYmKAbqFqMdpxF4hAnwFxU%2FaxElFAJ0p4MZKxCoFAp4azUdM4JCa6JvtzFXp6UmKZl5W63474lcWNFlbX30WLloWrdQaX%2B0M4RG%2BV9vpBpgWz0q%2BHK5%2BrkS1r0d74eZpm%3D%3D.gif" border="0"></td></tr></table>