- From: Hayato Ito <notifications@github.com>
- Date: Mon, 01 Jun 2015 00:08:47 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Monday, 1 June 2015 07:09:16 UTC
@annevk I'm afraid that I don't understand fully what https://www.w3.org/Bugs/Public/show_bug.cgi?id=27844#c10 means, however, let me update the spec so that it throws an Exception. I'll ping you so that it can be reviewed by you. I'm also thinking that createShadowRoot() should throw a similar exception if it is called more than once for the same element. In the current spec, it is defined it return null. https://w3c.github.io/webcomponents/spec/shadow/#widl-Element-createShadowRoot-ShadowRoot-ShadowRootInit-shadowRootInitDict I'm not sure which is better, throws an Exception or return a null. I am thinking throwing an Exception is better also in this case. --- Reply to this email directly or view it on GitHub: https://github.com/w3c/webcomponents/issues/102#issuecomment-107332719
Received on Monday, 1 June 2015 07:09:16 UTC