- From: <bugzilla@jessica.w3.org>
- Date: Fri, 08 Feb 2013 17:33:39 +0000
- To: public-webapps-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=20913
Bug ID: 20913
Summary: [Custom]: Meaning of prototype in document.register is
underspecified
Classification: Unclassified
Product: WebAppsWG
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: Component Model
Assignee: dglazkov@chromium.org
Reporter: mrbkap@gmail.com
QA Contact: public-webapps-bugzilla@w3.org
CC: bzbarsky@mit.edu
Blocks: 14968
The spec for document.register allows a user to pass in a prototype that
specifies the API of the new element and restricts it only in that it must
inherit from HTMLElement. Allowing the prototype to inherit from e.g.
HTMLButtonElement is useful in the <button is="x-foo"> case, but it isn't clear
what should happen if the user simply calls document.createElement("x-foo").
Should that throw? What should happen if one of the methods defined on
HTMLButtonElement is called?
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Friday, 8 February 2013 17:33:41 UTC