1
0
Fork 0
firefox/testing/web-platform/tests/css/css-ui/interactivity-inert-all.tentative.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

22 lines
650 B
HTML

<!DOCTYPE html>
<title>CSS UI Test: The 'all' shorthand does not include 'interactivity'</title>
<link rel="help" href="https://drafts.csswg.org/css-ui-4/#inertness">
<link rel="help" href="https://github.com/w3c/csswg-drafts/issues/12049">
<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>