Skip to content

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

Description

@mareksuscak

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.

Activity

  1. arv commented on Jul 1, 2014

    @arv
    Contributor

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

     <span id="el" _style="{{ styles | styleObject }}">
  2. mareksuscak commented on Jul 1, 2014

    @mareksuscak
    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

  3. abourget commented on Jan 16, 2015

    @abourget

    Kabunga !!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions