- From: Joćo Eiras <joao.eiras@gmail.com>
- Date: Tue, 31 Aug 2010 23:58:19 +0100
- To: www-dom@w3.org
On , Anne van Kesteren <annevk@opera.com> wrote: > On Mon, 30 Aug 2010 21:15:04 +0200, Ojan Vafai <ojan@chromium.org> wrote: >> WebKit is changing to match Gecko and not throw WRONG_DOCUMENT_ERR in a >> number of cases. >> >> https://bugs.webkit.org/show_bug.cgi?id=19524 >> >> Is there an editor for http://www.w3.org/TR/DOM-Level-3-Core/? These >> cross-document restrictions cause an unnecessary burden on web developers >> and soon WebKit and Gecko will not be firing them. Is there any >> possibility >> of changing the spec to match? > > There's: http://simon.html5.org/specs/web-dom-core > > I have a vague plan of working on it once the CSS Value API in CSSOM is > specified, but it depends on how much time everything else leaves me. > The spec has always enforced WRONG_DOCUMENT_ERR, but Mozilla has always had the bug. Hence Opera was forced to implicitly do adoptNode although always remarked as a temp solution while Mozilla did not fix their issue. Although I would personally agree that firing the exception is better from a strict programming point of view, web compat will probably require the implicitly adoptNode forever.
Received on Tuesday, 31 August 2010 22:58:58 UTC