Re: [custom-elements-tests] Tests for callback 'created' (#609)

It might be more interesting to append customElement to div first, and assert that callbackCalledCounter is still zero. Then attach div to the document, and assert that callbackCalledCounter is incremented. ie that the callback is called even if the element isn't directly the node being attached (or detached, or moved.)

View on GitHub: https://github.com/w3c/web-platform-tests/pull/609#discussion_r10918914

Received on Tuesday, 25 March 2014 06:33:31 UTC