Skip to content

[@sheet] If a stylesheet contains named @sheet references and rules outside of the @sheet references, what happens in all cases when a fragment identifier is not specified? #940

Open
@aluhrs13

Description

@aluhrs13

If a stylesheet contains named @sheet references and rules outside of the @sheet references, what happens in all cases when a fragment identifier is not specified? For example:

@sheet foo {
  div{
    color: red;
  }
}
div {
  color: blue;
}
<style>
  @import "sheet.css" /* Does the @sheet "foo" get dropped? */
</style>
<link rel="stylesheet" href="sheet.css"> <!-- Does the @sheet "foo" get dropped? -->

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions