Skip to content

[@sheet] Do we want to be able to access sheets declared in shadow DOM from light DOM? #938

Open
@aluhrs13

Description

Do we want to be able to access sheets declared in shadow DOM from light DOM? For example:

<template shadowrootmode="open">
  <style>
    @sheet foo {
      div {
        color: red;
      }
    }
  </style>
  <link rel="stylesheet" href="#foo" />
  <span>I'm in the shadow DOM</span>
</template>

<link rel="stylesheet" href="#foo" />
<span>I'm in the light DOM</span>

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions