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

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

Issue 1649663002: Make CSS Animations responsive to changes to their keyframe offsets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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/LayoutTests/animations/keyframes-style-declaration-updates-animation.html ('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/css/CSSKeyframeRule.cpp
diff --git a/third_party/WebKit/Source/core/css/CSSKeyframeRule.cpp b/third_party/WebKit/Source/core/css/CSSKeyframeRule.cpp
index 68a26637804dbcbdd4a85e544c430e483d850639..c2e043788fd450439e2a29049119205f65e5e368 100644
--- a/third_party/WebKit/Source/core/css/CSSKeyframeRule.cpp
+++ b/third_party/WebKit/Source/core/css/CSSKeyframeRule.cpp
@@ -50,6 +50,8 @@ CSSKeyframeRule::~CSSKeyframeRule()
void CSSKeyframeRule::setKeyText(const String& keyText, ExceptionState& exceptionState)
{
+ CSSStyleSheet::RuleMutationScope(this);
+
if (!m_keyframe->setKeyText(keyText))
exceptionState.throwDOMException(SyntaxError, "The key '" + keyText + "' is invalid and cannot be parsed");
« no previous file with comments | « third_party/WebKit/LayoutTests/animations/keyframes-style-declaration-updates-animation.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698