Skip to content

class attributes on meta elements in head are useless #7940

Open
@enda

Description

@enda

Describe the bug

We have class attributes on meta elements in head.
The class attributes on meta elements are useless since head in not visible

Reproduction

You can reproduce the problem using the 'SvelteKit demo app' template => npm create svelte@latest head-attr-bug

demo bug svelte class attr head

Logs

No response

System Info

System:
    OS: macOS 12.3.1
    CPU: (8) x64 Intel(R) Core(TM) i7-8557U CPU @ 1.70GHz
    Memory: 87.93 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 16.17.0 - ~/.nvm/versions/node/v16.17.0/bin/node
    npm: 8.15.0 - ~/.nvm/versions/node/v16.17.0/bin/npm
  Browsers:
    Chrome: 106.0.5249.119
    Firefox: 103.0
    Safari: 15.4
  npmPackages:
    svelte: ^3.46.0 => 3.50.0

Severity

annoyance

Metadata

Metadata

Assignees

No one assigned

    Labels

    cssStuff related to Svelte's built-in CSS handlingperf

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions