Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Unified Diff: LayoutTests/fast/layout/display-none-no-relayout.html

Issue 1349543004: CSS: Avoid invalidating style when only descendants need updating (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: invalidatesSelf Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/layout/display-none-no-relayout.html
diff --git a/LayoutTests/fast/layout/display-none-no-relayout.html b/LayoutTests/fast/layout/display-none-no-relayout.html
index dffcb6281839700f52e2cb16e448b71e9f563aea..eb6964e5565ef07d370509c867fe6bf76d83637a 100644
--- a/LayoutTests/fast/layout/display-none-no-relayout.html
+++ b/LayoutTests/fast/layout/display-none-no-relayout.html
@@ -22,7 +22,7 @@ var parent = document.getElementById("parent");
parent.className = "a";
if (window.internals) {
- shouldBe("window.internals.updateStyleAndReturnAffectedElementCount()", "3", true);
+ shouldBe("window.internals.updateStyleAndReturnAffectedElementCount()", "2", true);
shouldBe("window.internals.needsLayoutCount()", "0", true);
}
</script>

Powered by Google App Engine
This is Rietveld 408576698