Re: [webcomponents] Large custom element spec rewrite to implement some F2F decisions (#405)

>  
>  <pre class='idl'>
>  partial interface Document {
> -    Element createElement(DOMString localName, DOMString typeExtension);
> -    Element createElementNS(DOMString? namespace, DOMString qualifiedName, DOMString typeExtension);
> +    Element createElement(DOMString localName, optional DOMString typeExtension);
> +    Element createElementNS(DOMString? namespace, DOMString qualifiedName, optional DOMString typeExtension);

Should we go for a dictionary as final argument to allow future extensions without getting awkward four-argument methods? I think I'd prefer that.

---
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/pull/405/files#r54695445

Received on Wednesday, 2 March 2016 09:02:48 UTC