Automatic update from web-platform-tests Let 'all' CSS shorthand reset 'interactivity' The interactivity property was special cased for avoiding resets to void the effect of HTML inert attributes. Now that [inert] is making interactivity:inert !important, make the all shorthand affect interactivity like most other properties. Bug: 445696957 Change-Id: I767f8acf0d882690e1022f730bb92f6f2192236d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7080806 Commit-Queue: Rune Lillesveen <futhark@chromium.org> Reviewed-by: Mason Freed <masonf@chromium.org> Cr-Commit-Position: refs/heads/main@{#1537785} -- wpt-commits: c151fafabf11167fd3d05abdb2d40b9cb6fe5242 wpt-pr: 55755
18 lines
520 B
HTML
18 lines
520 B
HTML
<!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>
|