| Index: LayoutTests/fast/css/invalidation/class-sibling-universal.html
|
| diff --git a/LayoutTests/fast/css/invalidation/class-sibling-universal.html b/LayoutTests/fast/css/invalidation/class-sibling-universal.html
|
| index f244230f3908937db5d0b973fafd6e7ea257d5f7..bb13a835e58ad63eb23f77fb378d9f49c5659315 100644
|
| --- a/LayoutTests/fast/css/invalidation/class-sibling-universal.html
|
| +++ b/LayoutTests/fast/css/invalidation/class-sibling-universal.html
|
| @@ -36,6 +36,7 @@
|
| <div></div>
|
| <div></div>
|
| </div>
|
| + <div></div>
|
| </div>
|
| <div>
|
| <div id="t5"></div>
|
| @@ -51,6 +52,7 @@
|
| <div></div>
|
| <div></div>
|
| </div>
|
| + <div></div>
|
| </div>
|
| <script>
|
| document.body.offsetTop;
|
| @@ -99,7 +101,7 @@ test(function() {
|
| assert_equals(getComputedStyle(r5).backgroundColor, "rgba(0, 0, 0, 0)", "Background color should initially be transparent");
|
|
|
| t5.className = "t5";
|
| - assert_equals(internals.updateStyleAndReturnAffectedElementCount(), 4, "Subtree style recalc");
|
| + assert_equals(internals.updateStyleAndReturnAffectedElementCount(), 3, "Subtree style recalc");
|
| assert_equals(getComputedStyle(r5).backgroundColor, "rgb(0, 128, 0)", "Background color is green after class change");
|
| }, "Class change affecting all sibling subtrees through a universal selector");
|
|
|
| @@ -108,7 +110,7 @@ test(function() {
|
| assert_equals(getComputedStyle(r6).backgroundColor, "rgba(0, 0, 0, 0)", "Background color should initially be transparent");
|
|
|
| t6.className = "t6";
|
| - assert_equals(internals.updateStyleAndReturnAffectedElementCount(), 5, "Subtree style recalc");
|
| + assert_equals(internals.updateStyleAndReturnAffectedElementCount(), 4, "Subtree style recalc");
|
| assert_equals(getComputedStyle(r6).backgroundColor, "rgb(0, 128, 0)", "Background color is green after class change");
|
| }, "Class change affecting all sibling subtrees through an indirect adjacent combinator");
|
| </script>
|
|
|