This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 27179 - [Custom]: The timing at which callbacks are invoked need to be defined more precisely
Summary: [Custom]: The timing at which callbacks are invoked need to be defined more p...
Status: RESOLVED DUPLICATE of bug 24579
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - Component Model (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Dimitri Glazkov
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 14968
  Show dependency treegraph
 
Reported: 2014-10-27 17:31 UTC by Ryosuke Niwa
Modified: 2014-10-27 17:34 UTC (History)
5 users (show)

See Also:


Attachments

Description Ryosuke Niwa 2014-10-27 17:31:17 UTC
http://www.w3.org/TR/custom-elements/#enqueuing-and-invoking-callbacks has the following normative text for when custom elements' callbacks are called:

```
Any time a script calls a method, reads or sets a property that is implemented by the user agent, the following actions must occur:

When transitioning from script to the user agent code, push a new element queue to the processing stack
When transitioning back from the user agent code to script, pop the element queue from the processing stack and invoke callbacks in that queue.
```

This needs to be more precisely defined in Web IDL, and the custom elements spec should refer to that.
Comment 1 Dimitri Glazkov 2014-10-27 17:34:02 UTC

*** This bug has been marked as a duplicate of bug 24579 ***