[Bug 28546] document.registerElement should take a template as an argument

https://www.w3.org/Bugs/Public/show_bug.cgi?id=28546

--- Comment #2 from Ryosuke Niwa <rniwa@webkit.org> ---
An optional dictionary might be okay. Alternatively, if ES7 adds support for
static variables, we might even consider using that e.g. (with a hypothetical
syntax for static variables):

class MyButton extends HTMLElement {
  static template = document.getElementById('my-button-template');
}

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 23 April 2015 00:25:09 UTC