Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Importing typography.html causes ie & edge to lose shadows and elevation #144

@chasb154

Description

@chasb154

Description

I've upgraded to Polymer 2.0, not hybrid. When using any element that imports typography.html from paper-styles, IE & Edge lose the shadows and elevations. Chrome and Firefox show not issues. I'm unable to test on Safari.

I started a project from scratch using polymer-cli and added a paper-card, paper-button, iron-icon and paper-input one at a time trying to find the problem. Paper-input caused the failure. I traced it to typography.

If I simply import typography.html in my shared-styles it causes the problem as well, so it isn't the paper-input element.

Expected outcome

Shadows and elevations should be unaffected.

Actual outcome

Shadows dissapear and all buttons and cards show only the text.

Live Demo

Steps to reproduce

  1. Create a new Polymer 2.0 PRPL project from polymer-cli.
  2. Add a paper-button or paper-card.
  3. Import bower_components/paper-styles/typography.html in shared-styles or add paper-input to the page.

Browsers Affected

  • Chrome
  • Firefox
  • [?] Safari 9
  • [?] Safari 8
  • [?] Safari 7
  • Edge
  • IE 11
  • [?] IE 10

No bower_components/paper-styles/typography.html imported
no typography imported

With typography.html imported
with typography imported

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