<!DOCTYPE html> <html> <head> <script> // root=[L(i1),L(i5)] -> i0=[e01,L(i1),e09] -> i1=[e02,L(i2),e08] -> i2=[e03,L(i3),e07] -> i3=[e04,L(i4),e06] -> i4[e05] // -> i5=[e10,L(i3),e11] var proto = Object.create(HTMLElement.prototype); proto.createdCallback = function() { console.log(this.getAttribute('name')); }; document.registerElement('order-test', {prototype: proto}); </script> <link rel="import" href="resources/nr1-i0.html"> <link rel="import" href="resources/nr1-i5.html"> <script> if (window.testRunner) window.testRunner.dumpAsText(); </script> </head> </html>