Polymer / polymer

Our original Web Component library.
https://polymer-library.polymer-project.org/
BSD 3-Clause "New" or "Revised" License
22.05k stars 2.01k forks source link

Shared style not working in Polymer 1.0 on chrome v.80 #5646

Closed KDDTDD closed 4 years ago

KDDTDD commented 4 years ago

Hi,

Shared styles as mentioned here in below does not work on chrome v.80.

https://polymer-library.polymer-project.org/1.0/docs/devguide/styling#external-stylesheets

Polymer is unable to resolve the location for shared file with styles. Polymer.DomModule.Import fails to find the file with the shared styles.

It was working on the previous chrome versions (v.76)

I have this in shared-styles.html:

And then I use it like this:

Thanks

KDDTDD commented 4 years ago

Upgrading the version of polyfills (webcomponents-lite-min.js) resolved this issue.