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

Unified Diff: third_party/WebKit/Source/core/css/ActiveStyleSheetsTest.cpp

Issue 2520263002: Check explicitly for style invalidation/recalc in @font-face test. (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/css/ActiveStyleSheetsTest.cpp
diff --git a/third_party/WebKit/Source/core/css/ActiveStyleSheetsTest.cpp b/third_party/WebKit/Source/core/css/ActiveStyleSheetsTest.cpp
index eab5ee5a47dc489cdb8a3a22aae662d521bee814..9b284b422e43b3b2386389574598b160e14c8c61 100644
--- a/third_party/WebKit/Source/core/css/ActiveStyleSheetsTest.cpp
+++ b/third_party/WebKit/Source/core/css/ActiveStyleSheetsTest.cpp
@@ -402,7 +402,10 @@ TEST_F(ApplyRulesetsTest, AddFontFaceRuleToShadowTree) {
styleEngine().applyRuleSetChanges(shadowRoot, ActiveStyleSheetVector(),
newStyleSheets);
- EXPECT_FALSE(document().needsLayoutTreeUpdate());
+ EXPECT_FALSE(document().needsStyleRecalc());
+ EXPECT_FALSE(document().childNeedsStyleRecalc());
+ EXPECT_FALSE(document().needsStyleInvalidation());
+ EXPECT_FALSE(document().childNeedsStyleInvalidation());
}
TEST_F(ApplyRulesetsTest, RemoveSheetFromShadowTree) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698