Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simple style attribute bindings and styleObject filter not working in IE11 (maybe other versions as well) #589

Closed
mareksuscak opened this issue Jul 1, 2014 · 3 comments

Comments

@mareksuscak
Copy link

see example in IE11 (other IEs not tested yet) here:

http://jsfiddle.net/k4L88/6/ - styleObject
http://jsfiddle.net/k4L88/7/ - simple style binding

Text in span on line 10 should be green but is red in IE. Chrome and Firefox are working just fine.

@arv
Copy link
Contributor

arv commented Jul 1, 2014

This is a known IE limitation. We added support for prefixing the attribute with _ to handle this.

 <span id="el" _style="{{ styles | styleObject }}">

@arv arv closed this as completed Jul 1, 2014
@mareksuscak
Copy link
Author

is this feature documented? i have never seen it before although i've already read the doc, thx anyway

UPDATE: ok sorry, i really missed it, it's at the bottom of this page: http://www.polymer-project.org/docs/polymer/databinding-compat.html

@abourget
Copy link

Kabunga !!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants