Skip to content

class="" causes errors if classes exist in <style> #978

@Rich-Harris

Description

@Rich-Harris

This...

<div class=""></div>

<style>
  .x {
    color: red;
  }
</style>

...results in an error:

Cannot read property 'type' of undefined

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions