Skip to content

We should probably disallow inserting @importrules into constructed stylesheets or any of their imports #56

Closed

Description

@bzbarsky

If someone does https://drafts.csswg.org/cssom/#dom-cssstylesheet-insertrule on a constructed stylesheet, or any of its imports (or their imports, etc) and the parsed rule is an @import rule, we should probably throw. Especially if we want to be able to share the sheets across documents.

Activity

  1. rakina commented on Dec 10, 2018

    @rakina
    Member

    Fixed by #61.

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

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