| Index: LayoutTests/fast/css/recalc-direct-adjacent-002.html
|
| diff --git a/LayoutTests/fast/css/recalc-direct-adjacent-001.html b/LayoutTests/fast/css/recalc-direct-adjacent-002.html
|
| similarity index 82%
|
| copy from LayoutTests/fast/css/recalc-direct-adjacent-001.html
|
| copy to LayoutTests/fast/css/recalc-direct-adjacent-002.html
|
| index 3ac6c5f1ddb83255018db51c1140c242246f7a6a..6a9baaf4f5537b0507a08b0378d6f9c7e567e34b 100644
|
| --- a/LayoutTests/fast/css/recalc-direct-adjacent-001.html
|
| +++ b/LayoutTests/fast/css/recalc-direct-adjacent-002.html
|
| @@ -2,11 +2,11 @@
|
| <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()", "8");
|
|
|
| shouldBe("getComputedStyle(document.getElementById('green'), null).color", "'rgb(0, 128, 0)'");
|
|
|
|
|