| Index: third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-z-index-inherit.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-z-index-inherit.html b/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-z-index-inherit.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ff1810dacdfa6c7cf1b91424f24a7c07497517db
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/css/getComputedStyle/getComputedStyle-z-index-inherit.html
|
| @@ -0,0 +1,15 @@
|
| +<!DOCTYPE html>
|
| +<script src="../../../resources/testharness.js"></script>
|
| +<script src="../../../resources/testharnessreport.js"></script>
|
| +<style>
|
| +#outer { z-index: auto; opacity: 0.9 }
|
| +#inner { position: relative; z-index: inherit; }
|
| +</style>
|
| +<div id="outer">
|
| + <div id="inner"></div>
|
| +</div>
|
| +<script>
|
| +test(() => {
|
| + assert_equals(getComputedStyle(inner).zIndex, 'auto');
|
| +}, 'z-index should inherit the computed value');
|
| +</script>
|
|
|