See http://lists.w3.org/Archives/Public/www-dom/2011JulSep/0039.html for details. See https://bugzilla.mozilla.org/show_bug.cgi?id=674696 for the corresponding Gecko bug.