commit | f22de573d0df738b0dea0bc408649fd10b4bd35d | [log] [tgz] |
---|---|---|
author | Stephen McGruer <smcgruer@chromium.org> | Wed Jul 25 15:15:59 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jul 25 15:15:59 2018 |
tree | 32d43fb7dd84062e96e8fbabcef6bd20c52ec668 | |
parent | f9cabcfefa27dec40d08dca29f515bbbc568171e [diff] |
Marquee: Early-exit on negative duration as well as zero duration It is possible for HTMLMarqueeElement::GetAnimationParameters to return a negative duration - this occurs when the <marquee> has no size but its 'mover' does. In this case we should not attempt to animate as this will just throw in TimingInput::Update (as a negative duration is invalid). Bug: 866289 Change-Id: Ifa0c2d2e8c717284670f7bddf8d350c174094f57 Reviewed-on: https://chromium-review.googlesource.com/1148887 Reviewed-by: Kentaro Hara <haraken@chromium.org> Commit-Queue: Stephen McGruer <smcgruer@chromium.org> Cr-Commit-Position: refs/heads/master@{#577894}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .