Fix LayoutTest transitions/svg-transitions.html

The Web Animations implementation provides smooth interpolation to and from
'none' values for the SVG stroke-dasharray property, whereas the legacy
implementation does not. See https://codereview.chromium.org/26292004.

This is not speced, but the Web Animations behavior is preferred, so this
change updates the expected results accordingly.

R=timloh@chromium.org
BUG=303430

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160512 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add UseCounter for input[type=email][multiple], input[type=email][maxlength], and input[type=email][multiple][maxlength].

We're discussing removal of maxlength support for type=email.
https://www.w3.org/Bugs/Public/show_bug.cgi?id=23573

BUG=none
TEST=none; no behavior changes.
R=ksakamoto@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160513 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Clean up HTMLPlugInElement.

- Fix style errors
- Wrap comments in 80 columns
- Shorten code
- Make the following members private:
 - DisplayState-related things
 - canContainRangeEndPoint
 - willRespondToMouseClickEvents
 - removeAllEventListeners
 - loadeMimeType
- Remove the following functions:
 - isCapturingMouseEvents
 - setIsCapturingMouseEvents
 - serviceType
 - loadedUrl

BUG=none
TEST=none; no behavior changes.
R=morrita@chromium.org, hayato@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160514 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move flag isValid from SVGSynchronizableAnimatedProperty to SVGRect.

The flag was introduced in r146495 to conform to empty/invalid viewBox attribute spec, but not being used elsewhere. This patch moves the flag inside SVGRect to simplify SVGSynchronizableAnimatedProperty.

TEST=svg/custom/viewBox-empty.html
BUG=308818

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160515 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove duplicate line from core.gyp

R=leviw@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160516 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Devirtualize PageConsole and MHTMLArchive destructors

Devirtualize PageConsole and MHTMLArchive destructors as these classes
are never subclassed nor do they have any virtual function. This avoids
creating unnecessary vtables.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160517 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add array based versions of GL object creation/deletion.

BUG=309455

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160518 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Eliminate timeerAlignmentinterval() recursion.

The recursion breaks the call stack.
We shouldn't do that.

R=abarth, tkent
BUG=311317

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160519 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Simplify SharedWorkerRepository code

- Use per-page client model rather than weird static methods
- Stop using custom RuntimeFeature code
- Remove dead/unnecessary code

Deprecating following Blink API (multi-sided):
- WebKit::WebFrameClient::createSharedWorker()
- WebKit::setSharedWorkerRepository()

Instead adding:
- WebKit::WebView::setSharedWorkerRepositoryClient()

Chromium-side patch: https://codereview.chromium.org/40303002/

BUG=none

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160520 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix memory error during selector matching due to getMatchedCSSRules.

The issue is that getMatchedCSSRules wasn't correctly pointing at its
parent stylesheet, which meant that it didn't mark the style resolver
as changed when it's selectorText was updated. This in turn meant that
we had two RuleDatas for a rule that now only had one selector (i.e. it
should only have one RuleData) and we'd try to access the selector at
and index that didn't exist.

Instead, when creating the CSSOM weappers for getMatchedCSSRules,
find the stylesheet corresponding to each rule and register the wrapper
appropriately with it. We still need to leave in the codepath for
lacking a sheet because we won't file a stylesheet for rules that are
not CSSStyleRules (e.g. @import).

We also leave in the lacking a sheet codepath for the inspector.
I'm not convinced the inspector code is correct, but this patch at
least fixes the error that is accessible from JS.

BUG=297976

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

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