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

Issue 1418663004: SVG animateMotion paths that only cause offsets are no longer ignored (Closed)

Created:
5 years, 1 month ago by Eric Willigers
Modified:
5 years ago
Reviewers:
pdr., fs
CC:
darktears, blink-reviews, blink-reviews-animation_chromium.org, blink-reviews-platform-graphics_chromium.org, blink-reviews-style_chromium.org, Rik, chromium-reviews, danakj, dshwang, drott+blinkwatch_chromium.org, krit, Eric Willigers, f(malita), fs, gyuyoung2, jbroman, Justin Novosad, kouhei+svg_chromium.org, pdr+svgwatchlist_chromium.org, pdr+graphicswatchlist_chromium.org, rjwright, rwlbuis, Stephen Chennney, shans, vmpstr+blinkwatch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

SVG animateMotion paths that only cause offsets are no longer ignored Chrome was not applying animateMotion paths that do not actually express motion. Similarly, motion-path paths like "M 100 100 L 100 100" were not being applied. The SkPathMeasure constructed from such paths is empty, but we can directly read the starting point from the path. BUG=321022 Committed: https://crrev.com/4e4d176ad83910be4002bd740caeb83a904371ed Cr-Commit-Position: refs/heads/master@{#361061}

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+55 lines, -44 lines) Patch
M third_party/WebKit/LayoutTests/css3/motion-path/path-establishes-stacking-context.html View 2 chunks +5 lines, -1 line 0 comments Download
M third_party/WebKit/LayoutTests/css3/motion-path/path-establishes-stacking-context-expected.html View 1 chunk +4 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/css3/motion-path/zero-length.html View 1 chunk +2 lines, -2 lines 0 comments Download
A + third_party/WebKit/LayoutTests/css3/motion-path/zero-length-expected.html View 1 chunk +2 lines, -2 lines 0 comments Download
A + third_party/WebKit/LayoutTests/svg/animations/animateMotion-still.html View 1 chunk +1 line, -1 line 0 comments Download
A + third_party/WebKit/LayoutTests/svg/animations/animateMotion-still-expected.txt View 1 1 chunk +5 lines, -4 lines 0 comments Download
A + third_party/WebKit/LayoutTests/svg/animations/resources/animateMotion-still.svg View 1 1 chunk +2 lines, -1 line 0 comments Download
A + third_party/WebKit/LayoutTests/svg/animations/script-tests/animateMotion-still.js View 1 2 chunks +14 lines, -9 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/SVGTextLayoutEngine.cpp View 1 1 chunk +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/core/style/ComputedStyle.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/svg/SVGAnimateMotionElement.cpp View 1 1 chunk +3 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/Path.h View 1 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/platform/graphics/Path.cpp View 1 4 chunks +11 lines, -11 lines 0 comments Download

Messages

Total messages: 17 (6 generated)
Eric Willigers
5 years, 1 month ago (2015-10-29 11:34:54 UTC) #2
fs
LGTM, but you'll need someone to approve the platform/ change as well.
5 years, 1 month ago (2015-10-29 11:48:13 UTC) #3
Eric Willigers
+pdr for platform
5 years, 1 month ago (2015-10-29 20:20:32 UTC) #5
pdr.
https://codereview.chromium.org/1418663004/diff/1/third_party/WebKit/LayoutTests/css3/motion-path/path-establishes-stacking-context.html File third_party/WebKit/LayoutTests/css3/motion-path/path-establishes-stacking-context.html (right): https://codereview.chromium.org/1418663004/diff/1/third_party/WebKit/LayoutTests/css3/motion-path/path-establishes-stacking-context.html#newcode6 third_party/WebKit/LayoutTests/css3/motion-path/path-establishes-stacking-context.html:6: div { Was this needed? https://codereview.chromium.org/1418663004/diff/1/third_party/WebKit/Source/core/style/ComputedStyle.cpp File third_party/WebKit/Source/core/style/ComputedStyle.cpp (right): ...
5 years, 1 month ago (2015-10-30 00:52:05 UTC) #6
Eric Willigers
https://codereview.chromium.org/1418663004/diff/1/third_party/WebKit/LayoutTests/css3/motion-path/path-establishes-stacking-context.html File third_party/WebKit/LayoutTests/css3/motion-path/path-establishes-stacking-context.html (right): https://codereview.chromium.org/1418663004/diff/1/third_party/WebKit/LayoutTests/css3/motion-path/path-establishes-stacking-context.html#newcode6 third_party/WebKit/LayoutTests/css3/motion-path/path-establishes-stacking-context.html:6: div { On 2015/10/30 00:52:04, pdr wrote: > Was ...
5 years, 1 month ago (2015-11-20 07:49:53 UTC) #7
pdr.
On 2015/11/20 at 07:49:53, ericwilligers wrote: > https://codereview.chromium.org/1418663004/diff/1/third_party/WebKit/LayoutTests/css3/motion-path/path-establishes-stacking-context.html > File third_party/WebKit/LayoutTests/css3/motion-path/path-establishes-stacking-context.html (right): > > https://codereview.chromium.org/1418663004/diff/1/third_party/WebKit/LayoutTests/css3/motion-path/path-establishes-stacking-context.html#newcode6 ...
5 years, 1 month ago (2015-11-20 22:38:00 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1418663004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1418663004/20001
5 years ago (2015-11-22 15:05:23 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/138653)
5 years ago (2015-11-22 16:16:41 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1418663004/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1418663004/20001
5 years ago (2015-11-22 23:08:58 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years ago (2015-11-23 00:30:57 UTC) #16
commit-bot: I haz the power
5 years ago (2015-11-23 00:31:44 UTC) #17
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/4e4d176ad83910be4002bd740caeb83a904371ed
Cr-Commit-Position: refs/heads/master@{#361061}

Powered by Google App Engine
This is Rietveld 408576698