overlay-computed.html (831B)
1 <!DOCTYPE html> 2 <title>CSS Positioned Layout Module Test: getComputedStyle().overlay</title> 3 <link rel="help" href="https://drafts.csswg.org/css-position-4/#overlay"> 4 <script src="/resources/testharness.js"></script> 5 <script src="/resources/testharnessreport.js"></script> 6 <script src="/css/support/computed-testcommon.js"></script> 7 <div id="target"></div> 8 <script> 9 test_computed_value("overlay", "none", "none"); 10 // 'auto' also computes to 'none' due to this UA style while the element is 11 // not in the top layer: 12 // 13 // * { overlay: none !important } 14 test_computed_value("overlay", "auto", "none"); 15 test_computed_value("overlay", "inherit", "none"); 16 test_computed_value("overlay", "initial", "none"); 17 test_computed_value("overlay", "revert", "none"); 18 test_computed_value("overlay", "unset", "none"); 19 </script>