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 e54b57e commit 97ec45dCopy full SHA for 97ec45d
testing/web-platform/tests/html/semantics/scripting-1/the-script-element/css-module/relative-urls.html
@@ -11,7 +11,7 @@
11
test(() => {
12
const target = document.querySelector("#target");
13
document.adoptedStyleSheets = [ styleSheet ];
14
- let backgroundStyle = window.getComputedStyle(target).background;
+ let backgroundStyle = window.getComputedStyle(target).backgroundImage;
15
assert_not_equals(backgroundStyle.indexOf("css-module/resources/image.png"), -1);
16
}, "A relative URL in a CSS module should be resolved relative to the CSS file's URL, not the importing document's URL");
17
</script>
0 commit comments