blob: a59f72901be960fdce113ba7a3cde2d9afcb48f2 [file] [edit]
<!DOCTYPE html>
<title>CSS UI Test: The 'all' shorthand includes 'interactivity'</title>
<link rel="help" href="https://drafts.csswg.org/css-ui-4/#inertness">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<style>
#inert {
interactivity: inert;
all: initial;
}
</style>
<div id="inert"></div>
<script>
test(() => {
assert_equals(getComputedStyle(inert).interactivity, "auto");
}, "The 'all' shorthand should set 'interactivity'");
</script>