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

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

Issue 2775143002: Implement frames() timing function (Closed)
Patch Set: Created 3 years, 9 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: third_party/WebKit/Source/core/css/CSSTimingFunctionValue.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSTimingFunctionValue.cpp b/third_party/WebKit/Source/core/css/CSSTimingFunctionValue.cpp
index 05e13afa3fccbebeb1ed24d39bafa127567706c1..8d2b5100a35ab61446f69a897a6c5e8ff60d5008 100644
--- a/third_party/WebKit/Source/core/css/CSSTimingFunctionValue.cpp
+++ b/third_party/WebKit/Source/core/css/CSSTimingFunctionValue.cpp
@@ -61,4 +61,13 @@ bool CSSStepsTimingFunctionValue::equals(
return m_steps == other.m_steps && m_stepPosition == other.m_stepPosition;
}
+String CSSFramesTimingFunctionValue::customCSSText() const {
+ return "frames(" + String::number(m_frames) + ")";
+}
+
+bool CSSFramesTimingFunctionValue::equals(
+ const CSSFramesTimingFunctionValue& other) const {
+ return m_frames == other.m_frames;
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698