Gardening: A failing test should be moved to TestExpectations.

BUG=310866
TBR=jsbell@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160397 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Gardening: Flaky timeout of http/tests/xmlhttprequest/origin-exact-matching.html

BUG=310882
TBR=antonm@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160398 bbb929c8-8fbe-4397-9dbb-9b2b20218538
CSS Animations: Fix interpolation tests under Firefox

This was broken in r159301

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160399 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Collapsed space never worked properly if we have spaces inside and/or after a Bidi-isolate.
The problem happens in two parts of the code:

1. The midpointState is not updated properly in addFakeRunIfNecessary. So when 
an isolated run is added the next midpoint state is wrong.
2. Since isolated runs have a two pass algorithm. In the second pass the 
midpoint state is wrong.

This patches fixes the first problem implementing a method called 
adjustMidpointsAndAppendRunsForObjectIfNeeded, when a fake run is added it basically 
updates the midpointState properly. And the second problem is fixed
saving and restoring the midpointState for Bidi-isolate inlines.

Additionally, with the recent modifications, the fake run needs to have width
zero because constructBidiRunsForSegment not necessary will replace the fake
run with a valid run.

BUG=304701

Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=159203

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160400 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move members of HTMLPlugInImageElement to HTMLPlugInElement, part 4.

This CL moves the following member functions:
 - allowedToLoadFrameURL()
 - wouldLoadAsNetscapePlugin()
 - createRenderer()
 - willRecalcStyle()
 - finishParsingChildren()

Note: We should move setHasCustomStyleCallbacks() call in the constructor
for willRecalcStyle().

Also, this CL remove member functions without implementations,
swapRendererTimerFired() and restartSimilarPlugIns().

This is a part of a task to merge HTMLPlugInImageELement into HTMLPlugInElement.
Only HTMLPlugInImageElement inherits from HTMLPlugInElement.

BUG=309978

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160401 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Intentionally bloat RenderObject

This has been talked about for years that we should never
grow RenderObject or else we would regress performance. We
have enough coverage to catch and quantify any performance
hit so let's land this and rock 'n' roll.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@160402 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Try again to deflake animations/play-state.html

Currently, we use runAnimationTest(), but this can't use the pause API because
it's incompatible with pausing animations through CSS. As a result, it's flaky.

This change re-writes the test to not use runAnimationTest() and to avoid the
need for precise timing,

R=dstockwell

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

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