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

Style issues on EDGE with Polymer 2 #4674

Closed
1 of 6 tasks
RoXuS opened this issue Jun 7, 2017 · 11 comments
Closed
1 of 6 tasks

Style issues on EDGE with Polymer 2 #4674

RoXuS opened this issue Jun 7, 2017 · 11 comments

Comments

@RoXuS
Copy link

RoXuS commented Jun 7, 2017

Description

I have some style issues with EDGE

Screenshot of the issue

Take on the paper-icon-item demo from webcomponents.org, but I have same issue on our applications.

papericonitem

Browsers Affected

  • Chrome
  • Firefox
  • Edge version 40.15063.0.0
  • Safari 9
  • Safari 8
  • IE 11

Versions

  • Polymer: v2.0.1
  • webcomponents: v1.0.1
@RoXuS RoXuS changed the title Style issue on EDGE with Polymer 2 Style issues on EDGE with Polymer 2 Jun 8, 2017
@dfreedm
Copy link
Member

dfreedm commented Jun 17, 2017

Is this issue only with the paper-icon-item element?

@RoXuS
Copy link
Author

RoXuS commented Jun 19, 2017

Nop @azakus, all component are affected, I have checked randomly the demos of some webcomponents.org and there is the same issue on paper-menu-button, paper-dropdown-menu, paper-progress, paper-spinner...etc

@loekup
Copy link

loekup commented Jun 21, 2017

Can confirm this is an issue for all components

Weird thing is the issue does not exist on
Edge version: 38.14393.1066.0
EdgeHTML version: 14.14393

@aminisana
Copy link

I have the same problem
Microsoft Edge 40.15063.0.0
Microsoft EdgeHTML 15.15063

@eduardopthiago
Copy link

Me too, webcomponents/webcomponents.org#1034

@feuerste
Copy link

feuerste commented Aug 6, 2017

See also PolymerElements/paper-listbox#39, PolymerElements/font-roboto#16 and https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/11495448/

@eduardopthiago
Copy link

eduardopthiago commented Aug 7, 2017

As mentioned by @feuerste , I solved my problem changing roboto.html file just adding type="text/css" on it. After changes, this file should be like this:

<style type="text/css">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto+Mono:400,700|Roboto:400,300,300italic,400italic,500,500italic,700,700italic" crossorigin="anonymous">
</style>

Thank you very much @feuerste

@feuerste
Copy link

feuerste commented Aug 7, 2017

@eduardopthiago, you can actually just use 1.0.3 of font-roboto now, since PolymerElements/font-roboto#16 is already merged and released :)
For any other issues, you can use the workaround I found.

@TimvdLippe
Copy link
Contributor

It seems that this issue has been fixed and we haven't heard from any other Edge-specific CSS issues since. Therefore I am closing this issue. Feel free to reopen if you run into Edge-specific issues again and we are happy to investigate.

@TrebuhD
Copy link

TrebuhD commented Feb 4, 2018

The Polymer site I'm working on is completely unusable on Edge, and it seems impossible to debug because Edge doesn't recognize shadow roots in its DevTools. Here's a link, compare it to Chrome or Firefox.

@TimvdLippe
Copy link
Contributor

@TrebuhD it seems that you have a file request that should 404 but instead serves back index.html. In my case, the url https://next.suttacentral.net/localization/elements/static_donations-page/nl.json does not return a JSON response, but index.html instead. I think Edge is more strict in this case and throws an error, while Firefox and Chrome are okay with this.

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

No branches or pull requests

8 participants