1
0
Fork 0
firefox/testing/web-platform/tests/css/css-position/overlay/overlay-computed.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

19 lines
831 B
HTML

<!DOCTYPE html>
<title>CSS Positioned Layout Module Test: getComputedStyle().overlay</title>
<link rel="help" href="https://drafts.csswg.org/css-position-4/#overlay">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/computed-testcommon.js"></script>
<div id="target"></div>
<script>
test_computed_value("overlay", "none", "none");
// 'auto' also computes to 'none' due to this UA style while the element is
// not in the top layer:
//
// * { overlay: none !important }
test_computed_value("overlay", "auto", "none");
test_computed_value("overlay", "inherit", "none");
test_computed_value("overlay", "initial", "none");
test_computed_value("overlay", "revert", "none");
test_computed_value("overlay", "unset", "none");
</script>