Skip to content

SVG Animation added by dart does not work #2856

Closed
@DartBot

Description

@DartBot

This issue was originally filed by rillo...@gmail.com


What steps will reproduce the problem?

  1. Unzip the attached zip
  2. Open test.html in Dartium
  3. Click the "Animate" button

What is the expected output? What do you see instead?

The text "Testing" should start flickering after every click, but nothing happens.
If you switch the script to javascript (created by compiling the dart code with frogc), the expected animation works.

In Dartium, enter chrome://version and paste the results here.

Chromium 20.0.1121.0 (Developer Build 134442)
OS Linux
WebKit 536.10 (Source/WebCore/Configurations@464)
JavaScript V8 3.10.6
DartVM r7210
Flash 11.2 r202
ユーザー エージェント Mozilla/5.0 (X11; Linux i686) AppleWebKit/536.10 (KHTML, like Gecko) Chrome/20.0.1121.0 (Dart) Safari/536.10
コマンドライン /home/masato/lib/dartium-lucid64-inc-7210.7210/chrome --flag-switches-begin --flag-switches-end
実行可​​能なパス /home/masato/lib/dartium-lucid64-inc-7210.7210/chrome
プロフィール パス /home/masato/.config/chromium/Default

Put OS and machine details here.
(If you're using Linux or Mac OS, you can get this from uname -a.)
$ uname -a
Linux masato-xubuntu 3.2.0-24-generic-pae #­37-Ubuntu SMP Wed Apr 25 10:47:59 UTC 2012 i686 i686 i386 GNU/Linux

Please provide any additional information below.
The frogc used to create test.dart.js was included in the following Dart editor package.
Version 0.1.0.201204250727, Build 6943
Dart SDK version 6934,


Attachment:
SVGAnimationError.zip (36.53 KB)

Activity

DartBot

DartBot commented on May 2, 2012

@DartBot
Author

This comment was originally written by antonm@google.com


Set owner to antonm@google.com.

DartBot

DartBot commented on May 2, 2012

@DartBot
Author

This comment was originally written by antonm@google.com


As a workaround for now: just add <script>navigator.webkitStartDart()</script> right before you close body tag and everything should work.

It looks like we have some unlucky race.


Added Started label.

DartBot

DartBot commented on May 17, 2012

@DartBot
Author

This comment was originally written by antonm@google.com


That should be fixed now once we started to require using dart.js. Please, reopen if I am wrong.


Added Fixed label.

added 2 commits that reference this issue on Mar 23, 2021
added a commit that references this issue on May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @DartBot

        Issue actions

          SVG Animation added by dart does not work · Issue #2856 · dart-lang/sdk