Re: [custom-elements] Invoking lifecycle callbacks before invoking author scripts

On Tue, Feb 23, 2016 at 5:26 AM, Ryosuke Niwa <> wrote:
> Hi,
> We propose to change the lifecycle callback to be fired both before invoking author scripts (e.g. for dispatching events) and before returning to author scripts.
> Without this change, event listeners that call custom elements' methods would end up seeing inconsistent states during compound DOM operation such as Range.extractContents and editing operations, and we would like to avoid that as much as possible.

These are the events we wanted to try and delay to dispatch around the
same time lifecycle callbacks are supposed to be called?


Received on Tuesday, 23 February 2016 09:16:52 UTC