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

Issue 1014843004: Make Element.animate work in dart2js Chrome (Closed)

Created:
5 years, 9 months ago by Alan Knight
Modified:
5 years, 9 months ago
Reviewers:
terry, sra1, kevmoo
CC:
reviews_dartlang.org, ricow1
Target Ref:
refs/remotes/git-svn
Visibility:
Public.

Description

Make Element.animate work in dart2js Chrome BUG= R=terry@google.com Committed: https://code.google.com/p/dart/source/detail?r=44642

Patch Set 1 #

Patch Set 2 : Fix line length #

Total comments: 10

Patch Set 3 : Review fixes #

Total comments: 1

Patch Set 4 : Fix comment indentation #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+161 lines, -5 lines) Patch
M sdk/lib/html/dart2js/html_dart2js.dart View 3 chunks +52 lines, -5 lines 0 comments Download
M sdk/lib/html/dartium/html_dartium.dart View 1 chunk +3 lines, -0 lines 0 comments Download
A tests/html/element_animate_test.dart View 1 2 1 chunk +51 lines, -0 lines 2 comments Download
M tests/html/html.status View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M tools/dom/scripts/systemhtml.py View 2 chunks +2 lines, -0 lines 0 comments Download
M tools/dom/templates/html/impl/impl_Element.darttemplate View 1 2 3 1 chunk +51 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (3 generated)
Alan Knight
5 years, 9 months ago (2015-03-17 23:29:39 UTC) #2
sra1
DBC. Is there a test? https://codereview.chromium.org/1014843004/diff/20001/tools/dom/templates/html/impl/impl_Element.darttemplate File tools/dom/templates/html/impl/impl_Element.darttemplate (right): https://codereview.chromium.org/1014843004/diff/20001/tools/dom/templates/html/impl/impl_Element.darttemplate#newcode793 tools/dom/templates/html/impl/impl_Element.darttemplate:793: * 1. Indent +4 ...
5 years, 9 months ago (2015-03-18 00:20:47 UTC) #4
sra1
DBC. Is there a test?
5 years, 9 months ago (2015-03-18 00:20:59 UTC) #5
sra1
DBC. Is there a test?
5 years, 9 months ago (2015-03-18 00:21:00 UTC) #6
sra1
DBC. Is there a test?
5 years, 9 months ago (2015-03-18 00:23:38 UTC) #7
Alan Knight
DBC? Had forgotten to 'git add' the test file. https://codereview.chromium.org/1014843004/diff/20001/tools/dom/templates/html/impl/impl_Element.darttemplate File tools/dom/templates/html/impl/impl_Element.darttemplate (right): https://codereview.chromium.org/1014843004/diff/20001/tools/dom/templates/html/impl/impl_Element.darttemplate#newcode793 tools/dom/templates/html/impl/impl_Element.darttemplate:793: ...
5 years, 9 months ago (2015-03-18 20:09:20 UTC) #8
kevmoo
DBC https://codereview.chromium.org/1014843004/diff/40001/tests/html/html.status File tests/html/html.status (right): https://codereview.chromium.org/1014843004/diff/40001/tests/html/html.status#newcode18 tests/html/html.status:18: element_animate_test: Fail # Not supported on Dartium Should ...
5 years, 9 months ago (2015-03-18 22:03:29 UTC) #10
sra1
https://codereview.chromium.org/1014843004/diff/20001/tools/dom/templates/html/impl/impl_Element.darttemplate File tools/dom/templates/html/impl/impl_Element.darttemplate (right): https://codereview.chromium.org/1014843004/diff/20001/tools/dom/templates/html/impl/impl_Element.darttemplate#newcode793 tools/dom/templates/html/impl/impl_Element.darttemplate:793: * On 2015/03/18 20:09:20, Alan Knight wrote: > On ...
5 years, 9 months ago (2015-03-19 02:20:46 UTC) #11
terry
lgtm just minor nit. https://codereview.chromium.org/1014843004/diff/60001/tests/html/element_animate_test.dart File tests/html/element_animate_test.dart (right): https://codereview.chromium.org/1014843004/diff/60001/tests/html/element_animate_test.dart#newcode51 tests/html/element_animate_test.dart:51: } Should we have a ...
5 years, 9 months ago (2015-03-19 17:03:16 UTC) #12
Alan Knight
Committed patchset #4 (id:60001) manually as 44642 (presubmit successful).
5 years, 9 months ago (2015-03-23 18:26:16 UTC) #13
Alan Knight
5 years, 9 months ago (2015-03-23 18:57:52 UTC) #14
Message was sent while issue was closed.
https://codereview.chromium.org/1014843004/diff/20001/tools/dom/templates/htm...
File tools/dom/templates/html/impl/impl_Element.darttemplate (right):

https://codereview.chromium.org/1014843004/diff/20001/tools/dom/templates/htm...
tools/dom/templates/html/impl/impl_Element.darttemplate:793: *
On 2015/03/19 02:20:46, sra1 wrote:
> On 2015/03/18 20:09:20, Alan Knight wrote:
> > On 2015/03/18 00:20:47, sra1 wrote:
> > > 1. Indent +4
> > > 2. Missing ]
> > > 3. Inconsistent space on second opacity.
> > 
> > 1. dartfmt says only +2
> 
> Markdown in this doc comment starts recognizing a block as sample code at +4
but
> the 'var' line is +6 from 'Examples'. Make it +4
> 
> 
> > 2. Done
> > 3. Done
> 

Ah, I misunderstood. Done.

https://codereview.chromium.org/1014843004/diff/60001/tests/html/element_anim...
File tests/html/element_animate_test.dart (right):

https://codereview.chromium.org/1014843004/diff/60001/tests/html/element_anim...
tests/html/element_animate_test.dart:51: }
On 2015/03/19 17:03:15, terry wrote:
> Should we have a test where the dictionary fails e.g., timing parameter is a
> {'xyzzy': 'foobar'}
> 
> Both dartium and chrome should fail if a dictionary name isn't valid.

It would be nice if they did, but Chrome happily accepts it and returns an
animation player. Dartium throws an unsupported operation for any animate call.
I'm making a separate bug for that.

Powered by Google App Engine
This is Rietveld 408576698