RE: [Custom Elements] attributeChanged not sufficient?

2014-04-01 Thread Travis Leithead
implementation: mselementresize) -Original Message- From: Ryosuke Niwa [mailto:rn...@apple.com] Sent: Monday, March 31, 2014 5:24 PM To: Ondřej Žára Cc: public-webapps@w3.org Subject: Re: [Custom Elements] attributeChanged not sufficient? On Mar 31, 2014, at 8:20 PM, Ondřej Žára ondrej.z

Re: [Custom Elements] attributeChanged not sufficient?

2014-03-31 Thread Scott Miles
I certainly support some kind of per-element media query, or resize event, if the well-known performance issues around these ideas can be resolved, but otherwise Custom Elements don't have a lot to say about this problem. Typically, when using a plain JS API (and not a custom declarative

Re: [Custom Elements] attributeChanged not sufficient?

2014-03-31 Thread Ryosuke Niwa
On Mar 31, 2014, at 8:20 PM, Ondřej Žára ondrej.z...@firma.seznam.cz wrote: Hi, let me introduce my Custom Element scenario: an interactive map element, powered by one of the well-known JS APIs (such as Google Maps API or so). Typically, the markup will be like my-map lat=...