Skip to content

adoptedStyleSheets#push doesn't work #124

@lucsoft

Description

@lucsoft

Describe the bug
document.adoptedStyleSheets.push(new CSSStyleSheet()); doesn't work.

To Reproduce

Apply CSSStyleSheet via push

Expected behavior

document.adoptedStyleSheets = [ new CSSStyleSheet() ];
document.adoptedStyleSheets.push(new CSSStyleSheet());
should have the same effect

Desktop (please complete the following information):

  • OS: macOS
  • Browser Safari
  • Version 16.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions