<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Given that both Mozilla Firefox and Microsoft Edge both agree with WebKit, it is unlikely we would accept a change to this behavior.<div class=""><br class=""></div><div class="">—Myles</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On May 10, 2016, at 7:31 PM, jongdeok.kim <<a href="mailto:jongdeok.kim@navercorp.com" class="">jongdeok.kim@navercorp.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="font-size: 9pt; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-family: 나눔고딕, NanumGothic, sans-serif;" class=""><div style="margin-top: 0px; margin-bottom: 0px;" class="">Hi Everyone,</div><p style="margin-top: 0px; margin-bottom: 0px;" class=""> </p><div style="margin-top: 0px; margin-bottom: 0px;" class="">A web page that I'm testing with webkit, uses two event listeners about load event.</div><div style="margin-top: 0px; margin-bottom: 0px;" class="">It registered those by assigning to window.onload and setting as an 'onload' attribute of body element.</div><p style="margin-top: 0px; margin-bottom: 0px;" class=""> </p><div style="margin-top: 0px; margin-bottom: 0px;" class="">On webkit, last registered one replaces previous one, in this case 'onload' attribute wins.</div><div style="margin-top: 0px; margin-bottom: 0px;" class="">I checked other browsers, but only chrome permits two listeners on same event type.</div><p style="margin-top: 0px; margin-bottom: 0px;" class=""> </p><div style="margin-top: 0px; margin-bottom: 0px;" class="">I googled and found out that it's DOM Level 0 event handling.</div><div style="margin-top: 0px; margin-bottom: 0px;" class="">And I'm wondering this is a webkit bug when using a mix of <span style="font-size: 9pt; line-height: 1.5;" class="">traditional model and </span><span style="font-size: 9pt; line-height: 1.5;" class="">inline model (</span>as referred to below),<span style="font-size: 9pt; line-height: 1.5;" class=""> or implementor dependent.</span></div><p style="margin-top: 0px; margin-bottom: 0px;" class=""> </p><div style="margin-top: 0px; margin-bottom: 0px;" class=""><a href="https://en.wikipedia.org/wiki/DOM_events#DOM_Level_0" class="">https://en.wikipedia.org/wiki/DOM_events#DOM_Level_0</a> </div><p style="margin-top: 0px; margin-bottom: 0px;" class=""> </p><div style="margin-top: 0px; margin-bottom: 0px;" class=""><html> </div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><head> </div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><title>onloadload</title> </div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><script type="text/javascript"> </div><div style="margin-top: 0px; margin-bottom: 0px;" class="">function load() {</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""> alert("body.onload");</div><div style="margin-top: 0px; margin-bottom: 0px;" class="">}</div><div style="margin-top: 0px; margin-bottom: 0px;" class="">window.onload = function () { // traditional model</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""> alert("window.onload");</div><div style="margin-top: 0px; margin-bottom: 0px;" class="">};</div><div style="margin-top: 0px; margin-bottom: 0px;" class=""></script> </div><div style="margin-top: 0px; margin-bottom: 0px;" class=""></head> </div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><body onload="load()"> <!-- inline model --></div><div style="margin-top: 0px; margin-bottom: 0px;" class=""><p>onload.</p> </div><div style="margin-top: 0px; margin-bottom: 0px;" class=""></body> </div><div style="margin-top: 0px; margin-bottom: 0px;" class=""></html> </div><p style="margin-top: 0px; margin-bottom: 0px;" class=""> </p><div style="margin-top: 0px; margin-bottom: 0px;" class="">Thanks in advance.</div><div style="margin-top: 0px; margin-bottom: 0px;" class="">jongdeok.</div><p style="margin-top: 0px; margin-bottom: 0px;" class=""> </p></div><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">_______________________________________________</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><span style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !important;" class="">webkit-dev mailing list</span><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="mailto:webkit-dev@lists.webkit.org" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">webkit-dev@lists.webkit.org</a><br style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=""><a href="https://lists.webkit.org/mailman/listinfo/webkit-dev" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class="">https://lists.webkit.org/mailman/listinfo/webkit-dev</a></div></blockquote></div><br class=""></div></body></html>