| Index: LayoutTests/fast/css/invalidation/invalidation-set-not.html
|
| diff --git a/LayoutTests/fast/css/invalidation/invalidation-set-not.html b/LayoutTests/fast/css/invalidation/invalidation-set-not.html
|
| index 0e9f82632f2f5caa76eb70027e7636a808f5f75b..145ecdc0d4b519a73d5f6c5c234e805af1fa97af 100644
|
| --- a/LayoutTests/fast/css/invalidation/invalidation-set-not.html
|
| +++ b/LayoutTests/fast/css/invalidation/invalidation-set-not.html
|
| @@ -86,7 +86,7 @@ test(function() {
|
| assert_equals(getComputedStyle(r2).backgroundColor, "rgba(0, 0, 0, 0)", "Background color should initially be transparent");
|
|
|
| t2.className = "";
|
| - assert_equals(internals.updateStyleAndReturnAffectedElementCount(), 2, "Recalc changed element and #r2");
|
| + assert_equals(internals.updateStyleAndReturnAffectedElementCount(), 1, "Recalc changed element and #r2");
|
| assert_equals(getComputedStyle(r2).backgroundColor, "rgb(0, 128, 0)", "Background color is green after class change");
|
| }, "Id descendant of negated class");
|
|
|
| @@ -110,7 +110,7 @@ test(function() {
|
| assert_equals(getComputedStyle(r5).backgroundColor, "rgba(0, 0, 0, 0)", "Background color should initially be transparent");
|
|
|
| t5.className = "";
|
| - assert_equals(internals.updateStyleAndReturnAffectedElementCount(), 2, "Recalc changed element and #r5");
|
| + assert_equals(internals.updateStyleAndReturnAffectedElementCount(), 1, "Recalc changed element and #r5");
|
| assert_equals(getComputedStyle(r5).backgroundColor, "rgb(0, 128, 0)", "Background color is green after class change");
|
| }, "Id descendant of negated class in :-webkit-any");
|
|
|
| @@ -118,7 +118,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(), 2, "Recalc changed element and #r6");
|
| + assert_equals(internals.updateStyleAndReturnAffectedElementCount(), 1, "Recalc changed element and #r6");
|
| assert_equals(getComputedStyle(r6).backgroundColor, "rgb(0, 128, 0)", "Background color is green after class change");
|
| }, "Negated class with id descendant of class");
|
|
|
|
|