Web-Components-Polyfill icon indicating copy to clipboard operation
Web-Components-Polyfill copied to clipboard

Unable to extend custom elements :(

Open nimbupani opened this issue 13 years ago • 0 comments

Also, the spec is very vague on how templates within custom elements are supposed to work when extended?

I attempted this:

<element name="super-button" extends="button">  
  <template>
      ٩(͡๏̯͡๏)۶ <content></content>
   </template>
</element

and:

<element name="super-super-button" extends="super-button">  
</element>

and using it as:

<button is="super-super-button">hi</button>

nimbupani avatar Oct 05 '12 14:10 nimbupani