| Index: third_party/WebKit/LayoutTests/fast/css/invalidation/independent-inheritance-fast-path-inherit-keyword.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/css/invalidation/independent-inheritance-fast-path-inherit-keyword.html b/third_party/WebKit/LayoutTests/fast/css/invalidation/independent-inheritance-fast-path-inherit-keyword.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..565fe4c061fc970f2a50455d3d82ba9a0cd19148
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/css/invalidation/independent-inheritance-fast-path-inherit-keyword.html
|
| @@ -0,0 +1,22 @@
|
| +<!DOCTYPE html>
|
| +<script src="../../../resources/testharness.js"></script>
|
| +<script src="../../../resources/testharnessreport.js"></script>
|
| +<div id="outer" style="visibility: hidden;">
|
| + <div id="inner" style="visibility: inherit;"></div>
|
| +</div>
|
| +<script>
|
| +test(function(t)
|
| +{
|
| + assert_equals(getComputedStyle(inner).visibility, "hidden");
|
| +
|
| + outer.offsetTop; // Force recalc.
|
| + outer.style.visibility = "visible";
|
| + assert_equals(internals.updateStyleAndReturnAffectedElementCount(), 1);
|
| + assert_equals(getComputedStyle(inner).visibility, "visible");
|
| +
|
| +}, "Changing visibility, an independent inherited property, propagates correctly when using the 'inherit' keyword.");
|
| +</script>
|
| +
|
| +
|
| +
|
| +
|
|
|