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

Unified Diff: third_party/WebKit/Source/core/style/ComputedStyleTest.cpp

Issue 2888703002: Revert "Incorporate ComputedStyle::hasTransform when diffing transform styles." (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.cpp ('k') | 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/style/ComputedStyleTest.cpp
diff --git a/third_party/WebKit/Source/core/style/ComputedStyleTest.cpp b/third_party/WebKit/Source/core/style/ComputedStyleTest.cpp
index 93bdef48fca8dce7dabbd085536e428a612a3a8e..f3f588b5fab813752b22d9fd7af0009d31bbfdb2 100644
--- a/third_party/WebKit/Source/core/style/ComputedStyleTest.cpp
+++ b/third_party/WebKit/Source/core/style/ComputedStyleTest.cpp
@@ -78,28 +78,4 @@ TEST(ComputedStyleTest, Preserve3dForceStackingContext) {
EXPECT_TRUE(style->isStackingContext());
}
-TEST(ComputedStyleTest, FirstPublicPseudoStyle) {
- RefPtr<ComputedStyle> style = ComputedStyle::create();
- style->setHasPseudoStyle(PseudoIdFirstLine);
- EXPECT_TRUE(style->hasPseudoStyle(PseudoIdFirstLine));
- EXPECT_TRUE(style->hasAnyPublicPseudoStyles());
-}
-
-TEST(ComputedStyleTest, LastPublicPseudoStyle) {
- RefPtr<ComputedStyle> style = ComputedStyle::create();
- style->setHasPseudoStyle(PseudoIdScrollbar);
- EXPECT_TRUE(style->hasPseudoStyle(PseudoIdScrollbar));
- EXPECT_TRUE(style->hasAnyPublicPseudoStyles());
-}
-
-TEST(ComputedStyleTest,
- UpdatePropertySpecificDifferencesRespectsTransformAnimation) {
- RefPtr<ComputedStyle> style = ComputedStyle::create();
- RefPtr<ComputedStyle> other = ComputedStyle::clone(*style);
- other->setHasCurrentTransformAnimation();
- StyleDifference diff;
- style->updatePropertySpecificDifferences(*other, diff);
- EXPECT_TRUE(diff.transformChanged());
-}
-
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/core/style/ComputedStyle.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698