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

binding within style attribute breaks in IE #17075

Closed
DartBot opened this issue Feb 24, 2014 · 18 comments
Closed

binding within style attribute breaks in IE #17075

DartBot opened this issue Feb 24, 2014 · 18 comments
Labels
area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams. browser-ie closed-obsolete Closed as the reported issue is no longer relevant

Comments

@DartBot
Copy link

DartBot commented Feb 24, 2014

This issue was originally filed by andriy....@gmail.com


<div style="width:{{width}};height:{{height}}"> Will work in firefox and chrome, but not in IE.

@sethladd
Copy link
Contributor

Sorry, is this Polymer or Angular?


Added NeedsInfo label.

@DartBot
Copy link
Author

DartBot commented Feb 25, 2014

This comment was originally written by andriy....@gmail.com


Pure Polymer, thanks for looking.

@kasperl
Copy link

kasperl commented Apr 24, 2014

Added Area-Polymer, Triaged labels.

@jmesserly
Copy link

Removed Area-Polymer label.
Added Pkg-Polymer, Area-Pkg labels.

@sigmundch
Copy link
Member

Added this to the 1.6 milestone.
Removed Priority-Unassigned label.
Added Priority-Medium, Browser-IE labels.
Changed the title to: "binding within style attribute breaks in IE".

@sigmundch
Copy link
Member

Removed this from the 1.6 milestone.
Added Polymer-P-1 label.

@sigmundch
Copy link
Member

Removed Polymer-P-1 label.
Added Polymer-Milestone-Next label.

@sigmundch
Copy link
Member

Added PolymerMilestone-Next label.

@sigmundch
Copy link
Member

Removed Polymer-Milestone-Next label.

@DartBot
Copy link
Author

DartBot commented Jul 25, 2014

This comment was originally written by Roman.Korneyev@gmail.com


Still <div style="{{css}}"> doesn't work in IE only..

@DartBot
Copy link
Author

DartBot commented Jul 29, 2014

This comment was originally written by Roman.Korneyev@gmail.com


are there plans to include the fix of this issue in polymer 0.12.0?

@sigmundch
Copy link
Member

Just to have more information, what version of IE are you using?

We plan to release 0.12.0 fairly soon, so I don't believe this will be fixed by the time we release it. But we can easily push another version after we find what the problem is and a way to fix this.

@DartBot
Copy link
Author

DartBot commented Jul 29, 2014

This comment was originally written by @zoechi


There are SO questions about this
http://stackoverflow.com/questions/25002116
http://stackoverflow.com/questions/24960402 (with a link to Polymer/polymer#270 (comment))

@DartBot
Copy link
Author

DartBot commented Jul 29, 2014

This comment was originally written by Roman.Korneyev@gmail.com


The simple code <div style="{{css}}"> doesn't work in both IE 10 and IE11

@sigmundch
Copy link
Member

Thanks gzoechi@! Indeed, seems this is a quite relevant link from that github issue:
  http://www.polymer-project.org/docs/polymer/databinding-compat.html#binding-to-attributes

We seem to have tests in template_binding for this as well, so that might be all you need to do to make this work in IE, change:

   <div style="{{css}}">

to

   <div _style="{{css}}">

Let us know if that fixes the issue. Cheers!


Added Waiting label.

@jakemac53
Copy link
Contributor

Assuming this is stale, the _style fix should work


Added AssumedStale label.

@DartBot
Copy link
Author

DartBot commented Oct 21, 2014

This comment was originally written by matty...@gmail.com


_style worked for me. Thanks!

@DartBot DartBot added Type-Defect area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams. browser-ie closed-obsolete Closed as the reported issue is no longer relevant labels Oct 21, 2014
@DartBot
Copy link
Author

DartBot commented Jun 5, 2015

This issue has been moved to dart-archive/polymer-dart#121.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-pkg Used for miscellaneous pkg/ packages not associated with specific area- teams. browser-ie closed-obsolete Closed as the reported issue is no longer relevant
Projects
None yet
Development

No branches or pull requests

6 participants