| Index: LayoutTests/fast/css/invalidation/recalc-direct-adjacent-002.html
|
| diff --git a/LayoutTests/fast/css/recalc-direct-adjacent-001.html b/LayoutTests/fast/css/invalidation/recalc-direct-adjacent-002.html
|
| similarity index 77%
|
| rename from LayoutTests/fast/css/recalc-direct-adjacent-001.html
|
| rename to LayoutTests/fast/css/invalidation/recalc-direct-adjacent-002.html
|
| index 3ac6c5f1ddb83255018db51c1140c242246f7a6a..e13f74ce57d4cb0148af2f6a6dd51656983d12cd 100644
|
| --- a/LayoutTests/fast/css/recalc-direct-adjacent-001.html
|
| +++ b/LayoutTests/fast/css/invalidation/recalc-direct-adjacent-002.html
|
| @@ -1,12 +1,12 @@
|
| <!DOCTYPE html>
|
| -<script src="../../resources/js-test.js"></script>
|
| +<script src="../../../resources/js-test.js"></script>
|
| <style>
|
| body { color: black; }
|
| - .match+div div+div { color: green; }
|
| + .match + .sibling div+div { color: green; }
|
| </style>
|
| <div>
|
| <div id="top"></div>
|
| - <div>
|
| + <div class="sibling">
|
| <div></div>
|
| <div id="green"></div>
|
| </div>
|
| @@ -16,6 +16,12 @@
|
| <div></div>
|
| <div></div>
|
| </div>
|
| + <div>
|
| + <div></div>
|
| + <div></div>
|
| + <div></div>
|
| + <div></div>
|
| + </div>
|
| </div>
|
| <script>
|
| if (window.testRunner)
|
| @@ -29,7 +35,7 @@ if (window.internals)
|
| document.getElementById("top").className = "match";
|
|
|
| if (window.internals)
|
| - shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "4");
|
| + shouldBe("internals.updateStyleAndReturnAffectedElementCount()", "2");
|
|
|
| shouldBe("getComputedStyle(document.getElementById('green'), null).color", "'rgb(0, 128, 0)'");
|
|
|
|
|