Chromium Code Reviews

Unified Diff: third_party/WebKit/LayoutTests/fast/css/invalidation/invalidation-set-not.html

Issue 1317533002: Sibling invalidation sets (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Oilpan Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: third_party/WebKit/LayoutTests/fast/css/invalidation/invalidation-set-not.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/invalidation/invalidation-set-not.html b/third_party/WebKit/LayoutTests/fast/css/invalidation/invalidation-set-not.html
index 145ecdc0d4b519a73d5f6c5c234e805af1fa97af..82b6916ec1b930fb260bb8a68e0c86b6d5202e46 100644
--- a/third_party/WebKit/LayoutTests/fast/css/invalidation/invalidation-set-not.html
+++ b/third_party/WebKit/LayoutTests/fast/css/invalidation/invalidation-set-not.html
@@ -126,7 +126,7 @@ test(function() {
assert_equals(getComputedStyle(r7).backgroundColor, "rgba(0, 0, 0, 0)", "Background color should initially be transparent");
t7.className = "";
- assert_equals(internals.updateStyleAndReturnAffectedElementCount(), 4, "Recalc changed element and #r7");
+ assert_equals(internals.updateStyleAndReturnAffectedElementCount(), 1, "Recalc changed element and #r7");
assert_equals(getComputedStyle(r7).backgroundColor, "rgb(0, 128, 0)", "Background color is green after class change");
}, "Id descendant of negated sibling class");
@@ -134,7 +134,7 @@ test(function() {
assert_equals(getComputedStyle(r8).backgroundColor, "rgba(0, 0, 0, 0)", "Background color should initially be transparent");
t8.className = "t8";
- assert_equals(internals.updateStyleAndReturnAffectedElementCount(), 6, "Subtree style recalc");
+ assert_equals(internals.updateStyleAndReturnAffectedElementCount(), 3, "Subtree style recalc");
assert_equals(getComputedStyle(r8).backgroundColor, "rgb(0, 128, 0)", "Background color is green after class change");
}, "Negated class descendant of sibling class");

Powered by Google App Engine