[html5] Is it safe to remove an element from within the element?

Henri Sivonen hsivonen at iki.fi
Mon Jan 2 08:09:38 PST 2012


On Thu, Dec 22, 2011 at 11:59 AM, Markus Ernst <derernst at gmx.ch> wrote:
> This looks like a clean solution to me, as it is removing from the DOM both
> Anyway, as the removing mechanism is triggered in the code before the
> element is actually closed, I ask myself whether this works by design, or
> just accidentally.

By design.

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/



More information about the Help mailing list