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

All Styles are dropped for elements which have any CSS vars in their style description #3476

Closed
shal1y opened this issue Feb 25, 2016 · 2 comments

Comments

@shal1y
Copy link

shal1y commented Feb 25, 2016

Description

Styles using CSS vars are being ignored and are not being included/loaded when elements are being loaded. This started after updating Polymer to v1.3.0

Steps to Reproduce

  1. Create any polymer element
  2. In it's style declaration, add at-least one CSS var, eg: color: var(--element-color, #ff0000)
  3. Add the element into the project

Expected Results

The element should have its styles available in the page

Actual Results

All the styles for the element are ignored and not loaded

Browsers Affected

  • [✓] Chrome
  • [✓] Firefox
  • [] Edge : not tested
  • [✓] Safari 9
  • [] Safari 8 : not tested
  • [] IE 11 : not tested

Versions

  • Polymer: v1.3.0
  • webcomponents: v0.7.21
@arthurevans
Copy link

Seems to be a duplicate of #3461. See that bug for a workaround.

There's a fix under testing for this, and we hope to have a new release out next week.

@shal1y
Copy link
Author

shal1y commented Feb 25, 2016

Thanks a lot @arthurevans. Will be waiting for the update, tried the workaround, but did not work for me.

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

2 participants