This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
https://dvcs.w3.org/hg/webcomponents/raw-file/tip/spec/custom/index.html#the-element-element > interface HTMLElementElement : HTMLElement { > attribute DOMString constructorName; > attribute DOMString extends; > attribute DOMString name; > readonly attribute Function generatedConstructor; >}; |constructorName|, |extends| and |name| are declared as mutable attributes. They should be readonly since there is no such semantics for dynamically changing these. Also, document.register() doesn't provide any imperative alternative for them.
Since these will just be reflecting HTML attributes, I don't think we need to make any special provisions for them. The fact that <element> is a one-shot shouldn't be dictating how these attributes are defined. For example, you can change HTMLScripElement.src all you want, but you'll get no useful result.
(In reply to comment #0) > Also, document.register() doesn't provide any imperative alternative for > them. That's okay. The layering goes the other way around: declarative stuff builds on imperative.