Skip to content

🧱 Incorrect font destructuring #336

@bartveneman

Description

@bartveneman

From cssday.nl

body {
  font: 100% Source Code Pro, Inconsolata, Menlo, monospace;
}

Expected:

  • font-size: 100%
  • font-family: Source Code Pro, Inconsolata, Menlo, monospace

Actual:

  • font-size: Code
  • font-family: Pro, Inconsolata, Menlo, monospace

The font-family isn't quoted, to the individual parts of Source Code Pro end up being Identifier, which messes with our algorithm.

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 defectSomething isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions