Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Warnings
- This test has a WPT meta file that expects 1 subtest issues.
- This WPT test may be referenced by the following Test IDs:
- /css/css-ui/interactivity-inert-all.tentative.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<title>CSS UI Test: The 'all' shorthand does not include 'interactivity'</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<style>
#inert {
interactivity: inert;
}
#child {
all: initial;
}
</style>
<div id="inert">
<span id="child"></span>
</div>
<script>
test(() => {
assert_equals(getComputedStyle(child).interactivity, "inert");
}, "The 'all' shorthand should not set 'interactivity'");
</script>