Move calendar/color picker CSS/JS resources from core to web

These files are only referenced in Source/web/, not in Source/core/, so
putting them in the (new) web/resources/ directory seems to make more sense.

Also moves the script used to generate these files in web/scripts/,
and makes the rules properly treat the script as an 'input'.

R=abarth

Review URL: https://codereview.chromium.org/25657009

git-svn-id: svn://svn.chromium.org/blink/trunk@158786 bbb929c8-8fbe-4397-9dbb-9b2b20218538
valueForBorderRadiusShorthand returns wrong values in some case.

Because valueForBorderRadiusShorthand misses the followings:

- showHorizontalBottomRight depends on showHorizontalBottomLeft.

- showHorizontalTopRight depends on showHorizontalBottomRight (including showHorizontalBottomLeft).

c.f. http://dev.w3.org/csswg/css-backgrounds/#the-border-radius

BUG=298972
TEST=fast/css/getComputedStyle/getComputedStyle-borderRadius-2.html

Review URL: https://codereview.chromium.org/25154003

git-svn-id: svn://svn.chromium.org/blink/trunk@158787 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IDL compiler: add Promise type

One more special type

BUG=239771

Review URL: https://codereview.chromium.org/25494005

git-svn-id: svn://svn.chromium.org/blink/trunk@158788 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add NeedsRebaseline lines that come from Linux bot failures.

TBR=rafaelw@chromium.org
BUG=none

Review URL: https://codereview.chromium.org/25437005

git-svn-id: svn://svn.chromium.org/blink/trunk@158789 bbb929c8-8fbe-4397-9dbb-9b2b20218538
CSS Calc: Use Lengths instead of numbers to represent pixels

Platform CalcExpressionNumber is overloaded with two uses semantic
meanings: numbers and pixel lengths. This makes conversion from platform
calcs to CSS calcs impossible to do accurately.

BUG=260097

Review URL: https://codereview.chromium.org/23439004

git-svn-id: svn://svn.chromium.org/blink/trunk@158790 bbb929c8-8fbe-4397-9dbb-9b2b20218538
De-assign UseCounter sample IDs for -internal-* CSS properties.

As UseCounter does not count the usage of internal CSS properties, it makes no
sense to keep the sample IDs (IDs used in histograms) for these properties.

This refactoring intends to prevent unnecessary and unintended addition to
UseCounter sample IDs in the future.

This CL is a simple refactoring and does not intend to change any behavior.

BUG=none
R=jchaffraix@chromium.org

Review URL: https://codereview.chromium.org/25216002

git-svn-id: svn://svn.chromium.org/blink/trunk@158791 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move DateTimeFormat to Source/platform/text/

BUG=297477

Review URL: https://codereview.chromium.org/25831002

git-svn-id: svn://svn.chromium.org/blink/trunk@158792 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Introduce Event::isGestureEvent() and use it to prevent a bad cast.

BUG=303232
TEST=Manually confirmed that crash does not occur.

Review URL: https://codereview.chromium.org/25837002

git-svn-id: svn://svn.chromium.org/blink/trunk@158793 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make StyleResolver a FontSelectorClient.

Address a 2-year old comment that made sense. Instead of poking
at Document and StyleResolver directly from CSSStyleResolver,
turn StyleResolver into a FontSelectorClient.

BUG=291287

Review URL: https://codereview.chromium.org/25507005

git-svn-id: svn://svn.chromium.org/blink/trunk@158794 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Web Animations CSS: Fix AnimatableColorImpl::toColor for transparent colors

Color's default ctor was changed from transparent to invalid in
https://codereview.chromium.org/23581008, and this call site wasn't
updated. This fixes it and adds a simple test.

BUG=257591

Review URL: https://codereview.chromium.org/25664002

git-svn-id: svn://svn.chromium.org/blink/trunk@158795 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert "Revert "Revert 157959 "Introduce new SVG*TearOff ref. graph."""

This revert reverts a revert of a revert of the change that added a new
SVG*TearOff reference graph. This is required due to a regression on
the fuzzers.

This reverts:
https://src.chromium.org/viewvc/blink?revision=158679&view=revision

TBR=kouhei
BUG=303476

Review URL: https://codereview.chromium.org/25840002

git-svn-id: svn://svn.chromium.org/blink/trunk@158796 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Web Animations CSS: Support animation of zoom

Preserves the existing behavior where animation of zoom can produce values
outside the valid range.

BUG=257591, 302104

Review URL: https://codereview.chromium.org/25197002

git-svn-id: svn://svn.chromium.org/blink/trunk@158797 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Generate toCSSFooValue() for CSS child values

This cl adds toCSSFooValue() for CSSPrimitiveValue, CSSFilterValue, CSSLineBoxContainValue,
CSSArrayFunctionValue, CSSTransformValue and CSSMixFunctionValue. And, this cl removes some
unnecessary local variables.

BUG=N/A

Review URL: https://codereview.chromium.org/25497002

git-svn-id: svn://svn.chromium.org/blink/trunk@158798 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Get rid of encoded and mimeType parameters in ContentProvider.requestContent() method.

R=pfeldman

Review URL: https://codereview.chromium.org/25460004

git-svn-id: svn://svn.chromium.org/blink/trunk@158799 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove reduntant call stack factories

BUG=None

Review URL: https://codereview.chromium.org/25714002

git-svn-id: svn://svn.chromium.org/blink/trunk@158800 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove unused header triggering check-blink-deps violation

BUG=297477

Review URL: https://codereview.chromium.org/25820002

git-svn-id: svn://svn.chromium.org/blink/trunk@158801 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: display paint rectangles on Layers panel 3d view

... toggled with the existing settings panel checkbox.

BUG=303130
R=pfeldman@chromium.org

Review URL: https://codereview.chromium.org/25666005

git-svn-id: svn://svn.chromium.org/blink/trunk@158802 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: disable layer tree agent when layers panel is not shown

We don't keep any state in layer tree agent and enabling/disabling
it is free, so to keep instrumentation overhead and protocol traffic
down, just disable agent when the panel is not shown.

BUG=
R=pfeldman@chromium.org

Review URL: https://codereview.chromium.org/25686004

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