Skip to content

How should "replace" handle @charset? #84

Description

@bzbarsky

Normal sheet parsing strips out the first @charset in https://drafts.csswg.org/css-syntax-3/#parse-a-stylesheet. Should parse do the same? Otherwise it seems like the problem the first note at https://drafts.csswg.org/css-syntax-3/#charset-rule talks about (of valid rules getting dropped because of the invalid @charset) would be a problem for "replace".

@tabatkins

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