Index: third_party/WebKit/LayoutTests/animations/add-keyframes-in-shadow-recalc.html |
diff --git a/third_party/WebKit/LayoutTests/animations/add-keyframes-in-shadow-recalc.html b/third_party/WebKit/LayoutTests/animations/add-keyframes-in-shadow-recalc.html |
index ef481a3d5a0a7ca0426abc059fdda08c33120d7a..146377745fad242fd44f92fec2631f5db153e5e0 100644 |
--- a/third_party/WebKit/LayoutTests/animations/add-keyframes-in-shadow-recalc.html |
+++ b/third_party/WebKit/LayoutTests/animations/add-keyframes-in-shadow-recalc.html |
@@ -21,10 +21,7 @@ |
to { color: orange } |
}`)); |
root.appendChild(sheet); |
- // TODO(rune@opera.com): This count should be 1 when async stylesheet |
- // update with RuleSet invalidations land. Currently we always do a |
- // subtree recalc for stylesheet mutations in shadow trees. |
- assert_equals(internals.updateStyleAndReturnAffectedElementCount(), 5, |
+ assert_equals(internals.updateStyleAndReturnAffectedElementCount(), 1, |
"Recalc for shadow tree, including host and inserted style element."); |
}, "Check that adding @keyframes does not cause a style recalc of the host element when no animations are running."); |
</script> |