On Oct 20, 2007 1:36 PM, Jonas Sicking <<a href="mailto:jonas@sicking.cc">jonas@sicking.cc</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">Robert O'Callahan wrote:<br>> After some discussion on IRC, I think Jonas, Hixie and I agreed that<br>> we're OK with the following approach:<br>> -- sound is produced for display:none elements and elements not in the DOM
<br>> -- removing an element from the DOM automatically calls stop() on that<br>> element<br><br></div>Actually, shouldn't that be pause()? Might be good to retain the<br>position in case you want to insert the element elsewhere and resume it.
<br><div class="Ih2E3d"></div></blockquote><div><br>Yes sorry. <br></div><div> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
> -- tearing down the owner document always stops the element playing (so<br>> navigating away from the page always stops sound)<br><br></div>This shouldn't be "tearing down", but rather "leaving", right? A
<br>document can stay alive long after the user has navigated away from it<br>since other frames can be holding it alive.</blockquote><div><br>Yes, well, I was being vague about "tearing down". In Gecko we want bfcached documents to pause their elements too.
<br></div></div><br clear="all">Rob<br>-- <br>"Two men owed money to a certain moneylender. One owed him five hundred denarii, and the other fifty. Neither of them had the money to pay him back, so he canceled the debts of both. Now which of them will love him more?" Simon replied, "I suppose the one who had the bigger debt canceled." "You have judged correctly," Jesus said. [Luke 7:41-43]