CSSOM CSSStyleSheet API not present in dynamically opened window

Issue #20819328 • Assigned to Bo C.

Details

Author
Damien E.
Created
Mar 13, 2019
Privacy
This issue is public.
Found in
  • Microsoft Edge
Reports
Reported by 1 person

Sign in to watch or report this issue.

Steps to reproduce

Taken from the original GitHub issue I opened on the library I thought was broken

https://github.com/styled-components/styled-components/issues/2193

Reproduction

I set up a project that reproduces the issue at => https://codesandbox.io/s/o74zzpypoz

Steps to reproduce

In the sample project above, click “open window” in the live preview

Expected Behavior

A new tab/window should render with the proper styles, like on Chrome

screen shot 2018-11-06 at 3 42 51 pm

Actual Behavior

A couple of crashes occur in createStyles and generateAndInjectStyles, see screenshots below
sc-edge-2
sc-edge-3
sc-edge

Per the contributor’s comment. It seems like the CSSOM CSSStyleSheet APIs are missing from a dynamically opened window

https://github.com/styled-components/styled-components/issues/2193#issuecomment-437961039

Attachments

0 attachments

    Comments and activity

    • Microsoft Edge Team

      Changed Assigned To to “Zachariah L.”

      Changed Assigned To to “Bo C.”

    You need to sign in to your Microsoft account to add a comment.

    Sign in