Re: [w3c/webcomponents] Clarify upgrading element's properties (#660)

Sure, so the first element I create it before I've defined `my-element`. I then set the property `foo` to `a`, that's all fine and expected. I then define `my-element` and so my `elementBeforeUpgrade` is now upgraded to the definition. I then set the property `foo` on it again, _but it doesn't call the setter that's on the `my-element` definition_. Instead it now just has a `foo` property with the value I set earlier, without getters or setters. I'd expect the getters and setters to be set as the definition for `foo`.

Apologies for the confusing example, I'll try come up with a more practical and understandable one.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/webcomponents/issues/660#issuecomment-325836057

Received on Tuesday, 29 August 2017 23:45:57 UTC