New issue
Advanced search Search tips

Issue 618157 link

Starred by 3 users

Issue metadata

Status: Fixed
Owner:
Closed: Nov 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Feature

Blocking:
issue 257235



Sign in to add a comment

Should warn about invalid property values in web animations keyframes

Project Member Reported by shans@chromium.org, Jun 8 2016

Issue description

When a web animations keyframe contains valid property keys that have unparseable value strings, we should emit a warning on the console.
 

Comment 1 by suzyh@chromium.org, Jun 8 2016

Labels: Update-quarterly

Comment 2 by suzyh@chromium.org, Jul 4 2016

Labels: Hotlist-Squash-A-Bug

Comment 3 by suzyh@chromium.org, Oct 6 2016

Owner: alancutter@chromium.org
Status: Assigned (was: Available)
Blocking: 257235
Project Member

Comment 5 by bugdroid1@chromium.org, Nov 25 2016

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/1ddf77acbf3b11ee0a3922ca5c1df57d769bac83

commit 1ddf77acbf3b11ee0a3922ca5c1df57d769bac83
Author: alancutter <alancutter@chromium.org>
Date: Fri Nov 25 13:21:52 2016

Emit console warning when element.animate() keyframe value fails to parse

This change adds a return value to the CSS parser to state whether a
CSS value was parsed successfully for a given property.

This information is used to allow calls to element.animate() to warn the
developer when provided keyframe values are invalid.

BUG= 618157 

Review-Url: https://codereview.chromium.org/2524303002
Cr-Commit-Position: refs/heads/master@{#434490}

[add] https://crrev.com/1ddf77acbf3b11ee0a3922ca5c1df57d769bac83/third_party/WebKit/LayoutTests/animations/element-animate-keyframe-value-warning-expected.txt
[add] https://crrev.com/1ddf77acbf3b11ee0a3922ca5c1df57d769bac83/third_party/WebKit/LayoutTests/animations/element-animate-keyframe-value-warning.html
[modify] https://crrev.com/1ddf77acbf3b11ee0a3922ca5c1df57d769bac83/third_party/WebKit/LayoutTests/animations/option-element-crash-expected.txt
[modify] https://crrev.com/1ddf77acbf3b11ee0a3922ca5c1df57d769bac83/third_party/WebKit/LayoutTests/fast/inline/inline-marquee-crash-expected.txt
[modify] https://crrev.com/1ddf77acbf3b11ee0a3922ca5c1df57d769bac83/third_party/WebKit/LayoutTests/imported/wpt/web-animations/interfaces/Animatable/animate-expected.txt
[modify] https://crrev.com/1ddf77acbf3b11ee0a3922ca5c1df57d769bac83/third_party/WebKit/LayoutTests/imported/wpt/web-animations/interfaces/KeyframeEffect/constructor-expected.txt
[modify] https://crrev.com/1ddf77acbf3b11ee0a3922ca5c1df57d769bac83/third_party/WebKit/Source/core/animation/EffectInput.cpp
[modify] https://crrev.com/1ddf77acbf3b11ee0a3922ca5c1df57d769bac83/third_party/WebKit/Source/core/animation/EffectInput.h
[modify] https://crrev.com/1ddf77acbf3b11ee0a3922ca5c1df57d769bac83/third_party/WebKit/Source/core/animation/StringKeyframe.cpp
[modify] https://crrev.com/1ddf77acbf3b11ee0a3922ca5c1df57d769bac83/third_party/WebKit/Source/core/animation/StringKeyframe.h
[modify] https://crrev.com/1ddf77acbf3b11ee0a3922ca5c1df57d769bac83/third_party/WebKit/Source/core/css/DOMWindowCSS.cpp
[modify] https://crrev.com/1ddf77acbf3b11ee0a3922ca5c1df57d769bac83/third_party/WebKit/Source/core/css/PropertySetCSSStyleDeclaration.cpp
[modify] https://crrev.com/1ddf77acbf3b11ee0a3922ca5c1df57d769bac83/third_party/WebKit/Source/core/css/StylePropertySet.cpp
[modify] https://crrev.com/1ddf77acbf3b11ee0a3922ca5c1df57d769bac83/third_party/WebKit/Source/core/css/StylePropertySet.h
[modify] https://crrev.com/1ddf77acbf3b11ee0a3922ca5c1df57d769bac83/third_party/WebKit/Source/core/css/parser/CSSParser.cpp
[modify] https://crrev.com/1ddf77acbf3b11ee0a3922ca5c1df57d769bac83/third_party/WebKit/Source/core/css/parser/CSSParser.h
[modify] https://crrev.com/1ddf77acbf3b11ee0a3922ca5c1df57d769bac83/third_party/WebKit/Source/core/css/parser/CSSParserImpl.cpp
[modify] https://crrev.com/1ddf77acbf3b11ee0a3922ca5c1df57d769bac83/third_party/WebKit/Source/core/css/parser/CSSParserImpl.h
[modify] https://crrev.com/1ddf77acbf3b11ee0a3922ca5c1df57d769bac83/third_party/WebKit/Source/core/dom/Element.cpp
[modify] https://crrev.com/1ddf77acbf3b11ee0a3922ca5c1df57d769bac83/third_party/WebKit/Source/core/svg/SVGAnimateElement.cpp

Status: Fixed (was: Assigned)

Sign in to add a comment