Use requestAnimationFrame rather than setTimeout in animation tests.

This will make it possible to eliminate the usage of setTimeout in
animation tests. Modifies the animation test helper to take a map of
callbacks and times to fire.

BUG=235752

Review URL: https://chromiumcodereview.appspot.com/14044019

git-svn-id: svn://svn.chromium.org/blink/trunk@149928 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Enable zooming for checkbox/radio/range controls on Linux

TEST=Automated. Covered by input-appearance-range-with-datalist-zoomed.html and zoomed-controls.html.
BUG=84973,130259

Review URL: https://chromiumcodereview.appspot.com/14348035

git-svn-id: svn://svn.chromium.org/blink/trunk@149929 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Replace custom NamedGetter of NamedNodeMap with auto-generated one.

V8NamedNodeMapCustom.cpp is no longer needed.

R=haraken@chromium.org
BUG=229740
TEST=TestEventTarget.idl

Review URL: https://chromiumcodereview.appspot.com/14747002

git-svn-id: svn://svn.chromium.org/blink/trunk@149930 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Gardening. Mark some more crashes related to clearLayoutRootIfNeeded and a timeout.

TBR=zmo@chromium.org
BUG=238363
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/14759022

git-svn-id: svn://svn.chromium.org/blink/trunk@149932 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make optional arguments in CanvasRenderingContext2D match the spec [1].

WebKit r98985 set many arguments optional although the canvas spec does not
indicate. So this patch corrects CanvasRenderingContext2D.idl to match the spec.

[1] http://www.w3.org/html/wg/drafts/2dcontext/html5_canvas/

Review URL: https://chromiumcodereview.appspot.com/14654002

git-svn-id: svn://svn.chromium.org/blink/trunk@149933 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove unused members in GraphicsContext3D.

There are several unused members in GraphicsContext3D. This patch removes them.

However, Three methods affect WebGraphicsContext3D: isGLES2Compliant(),
getPlatformTextureId() and prepareTexture(). We need to change chromium source
code related to three methods also. So this patch changes WebGraphicsContext3D
to prepare chromium change. After changing chromium code in another issue, three
virtual methods in WebGraphicsContext3D will be removed.

BUG=

Review URL: https://chromiumcodereview.appspot.com/14727008

git-svn-id: svn://svn.chromium.org/blink/trunk@149934 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Use OwnPtr instead of deleteAllValues in SVGAttributeToPropertyMap (Patch by darin@apple.com)

This patch merges a patch by Darin in wkbug.com/115653.

BUG=238369

Review URL: https://chromiumcodereview.appspot.com/14895008

git-svn-id: svn://svn.chromium.org/blink/trunk@149935 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Implement preserveAspectRatio=none for SVG images

Previously, preserveAspectRatio=none had no effect on SVG images. This change fixes this so
we follow the special handling of preserveAspectRatio on images as defined in the spec:
    http://www.w3.org/TR/SVG/single-page.html, 7.8 The ‘preserveAspectRatio’ attribute.

Images that depend on a container size (such as SVG images) require a call to
setContainerSizeForRenderer(...) to set this size. By passing the image's intrinsic size
as the container size, the non-uniform scaling defined in the spec will be achieved.

BUG=173360

Review URL: https://chromiumcodereview.appspot.com/14964004

git-svn-id: svn://svn.chromium.org/blink/trunk@149936 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Implement ElementRareData-based access to getInputContext() for HTMLElement.

This is an alternative implementation from
https://codereview.chromium.org/13825009/
which used Supplementable<> and caused HTMLElement class bloat.

The getInputContext() spec is at
http://www.w3.org/TR/ime-api/#the-getinputcontext-method 

BUG=234476
TEST=none

Review URL: https://chromiumcodereview.appspot.com/14628005

git-svn-id: svn://svn.chromium.org/blink/trunk@149937 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Gardening. Mark another clearLayoutRootIfNeeded crash.

TBR=zmo@chromium.org
BUG=238363
NOTRY=true

Review URL: https://chromiumcodereview.appspot.com/14660021

git-svn-id: svn://svn.chromium.org/blink/trunk@149938 bbb929c8-8fbe-4397-9dbb-9b2b20218538