blob: f1a0a315de6eeb08863d9fd4dbad2588b3492d89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<!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>
|