We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f00a60e commit 97f88baCopy full SHA for 97f88ba
tests/shadow.js
@@ -1,9 +1,11 @@
1
import StyleObserver from "../index.js";
2
import gentleRegisterProperty from "./util/gentle-register-property.js";
3
import tests from "./tests.js";
4
+import bugs from "../src/util/detect-bugs.js";
5
6
const inlineStyleTest = {
7
name: "Don't use inline styles",
8
+ skip: !document.adoptedStyleSheets || bugs.ADOPTED_STYLE_SHEET,
9
async run ({property, meta, initial, value}) {
10
// Make the property unique
11
property += "-" + this.data.hostId;
@@ -127,6 +129,7 @@ export default {
127
129
},
128
130
{
131
name: "Declarative",
132
+ skip: document.getElementById("declarative-host").shadowRoot === null,
133
data: {
134
hostId: "declarative-host",
135
0 commit comments