Review main Abandoned

80667[WIP][BUGFIX] Fix CSS in component shadowRoots when used cross frames

Benjamin Franzke CR 0 V 0 Normal +91 −10 updated 08/25/23, 09:16

Commit message

When a custom element is created within an iframe via
`document.createElement()` and is then attached to another
frame (e.g. via parent.document.body.appendChild()),
then the browser throws an exception when a CSSStyleSheet
object, created on the iframe window object is attached
to the outer documents object.

TODO:
 * consider trying to merge this fix upstream(, but:)
 * firefox has even more problems:
   Uncaught TypeError: this.createRenderRoot is not a function

Review

  • Code review CR 0

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V 0

    Imported before Forger kept the single votes, the next import adds them.

Issues 3

Files 6