- From: Ryosuke Niwa <notifications@github.com>
- Date: Tue, 20 Sep 2016 03:25:57 -0700
- To: w3c/webcomponents <webcomponents@noreply.github.com>
Received on Tuesday, 20 September 2016 10:26:49 UTC
I agree, changing the semantics of `observedAttribute` at this stage would be contentious. Google wanted to special case `style` and other animated attributes for performance reasons and Mozilla didn't want to special case a single attribute. And then there was an issue of `attributeChangedCallback` being spammy when there is a lot of attributes or some attribute you don't care keep changing its value. So the compromise was to always specify a list of attribute to observe. Defining the list of *standard attributes* is hard because the list is not finalized. As more attributes are added to the standard, components which relied that those attributes to be not standard will fail to observe the attribute value changes even if the attributes only had a meaning in some builtin elements. As such, this approach poses a serious forward compatibility concern. -- 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/565#issuecomment-248262669
Received on Tuesday, 20 September 2016 10:26:49 UTC