Closed Bug 1246690 Opened 8 years ago Closed 8 years ago

element.animate unsupported/wrong property should display a warning in the devTool console

Categories

(Core :: DOM: Animation, defect)

47 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1253470

People

(Reporter: nchevobbe, Unassigned)

Details

Attachments

(1 file)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:44.0) Gecko/20100101 Firefox/44.0
Build ID: 20160123151951

Steps to reproduce:

1. Open attached file
2. Open devtools web console


Actual results:

Nothing


Expected results:

There should be a warning in the web console : 

    "background-color" is not a valid property to be animated. You may want to try "backgroundColor". See the valid animated properties on MDN ( link to MDN ).
I think I saw a message like this on Nightly last week ( "Trying to animate unsupported properties" ), but I can't see it anymore.
FF44: TypeError: div.animate is not a function
(In reply to Loic from comment #2)
> FF44: TypeError: div.animate is not a function
element.animate only landed in FF47
Even though this bug came first, I'm duping it to bug 1253470 since that bug has a bit more context.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: