Auto-rebaseline for r154799

http://src.chromium.org/viewvc/blink?view=revision&revision=154799

BUG=260227
TBR=esprehn@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@154803 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Re-instantiate the mixed iframe block for M30.

This is actually a revert of:
http://src.chromium.org/viewvc/blink?view=rev&rev=153937
But reverted manually due to conflicts using drover.

TBR=abarth@chromium.org
BUG=238484,244210

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

git-svn-id: svn://svn.chromium.org/blink/trunk@154804 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[CSS Grid Layout] infinity should be defined as a negative value

This change makes us reject negative lengths at parse time, which
matches the updated specification, so that we can now safely assume
that when we resolve the length, it is not to a negative value.

BUG=234209
TESTS=fast/css-grid-layout/grid-columns-rows-get-set.html
      fast/css-grid-layout/grid-columns-rows-get-set-multiple.html

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

git-svn-id: svn://svn.chromium.org/blink/trunk@154805 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Automate ManualTests/drag-image-to-desktop.html

Make drag-image-to-desktop a http/tests/images test, and use EventSender's
dumpFilenameBeingDragged() to examine the drag-drop files.

The manual test was added in https://bugs.webkit.org/show_bug.cgi?id=20685
which pre-dates dumpFilenameBeingDragged() addition to DRT.

BUG=259669

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

git-svn-id: svn://svn.chromium.org/blink/trunk@154806 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix overlay scrollbars not disappearing on Mac.

This was a regression introduced by:
https://chromiumcodereview.appspot.com/16336016

That CL made ScrollElasticityController::handleWheelEvent() sometimes
return false, which resulted in didEndScrollGesture() not being called
in all cases, which is needed to fade out overlay scroll bars.

Unfortunately, not enough of the Mac overlay scroll bar code runs in
layout tests for this to be testable. 

BUG=251910
TEST=See bug.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@154807 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Make SVGTRefElement use the modern Shadow DOM API

We can simplify SVGTRefElement by using modern Shadow DOM abstractions like
userAgentShadowRoot() and utility functions like replaceChildrenWithText.

R=pdr@chromium.org,dglazkov@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@154809 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Web Animations: Fix handing of m_player on TimedItem

Missed initialization and inappropriate assertion were causing flaky failures
on the mac_layout bots.

TBR=esprehn
BUG=232273

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

git-svn-id: svn://svn.chromium.org/blink/trunk@154810 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add MatchPropertiesCache printing to STYLE_STATS.

This is useful for trying to improve the cache hit rate.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@154811 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove a bunch of unused stuff from editing

htmlediting.cpp contains a bunch of unused functions we can delete.

R=ojan@chromium.org,eseidel@chromium.org,leviw@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@154812 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove lots of stuff from NodeRenderingContext

Lots of simplification can be done to NodeRenderingContext. For example
createTextRenderer will never return null so we don't need to check for that.
We can also combine all the constructors. The only case that used the RenderStyle
version that didn't compute the parent was in Text::updateTextRenderer and this
optimization can't be buying us much since we call into NodeRenderingTraversal::parent
all over the place so saving the one call here won't matter.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@154813 bbb929c8-8fbe-4397-9dbb-9b2b20218538
REGRESSION(r153039): Media controls should not have focus.

r153039 made buttons mouse-focusable, but audio/video elements should not have
focus at all.

BUG=262896

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

git-svn-id: svn://svn.chromium.org/blink/trunk@154814 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove unnecessary Shadow DOM encapsulation checks

NodeRenderingContext had methods on it to check for "upper encaupsulation boundary"
and "lower encapsulation boundary" that things were using to try to control
renderer creation but this is wrong, they should be using insertion points instead.
It turns out these checks didn't do anything anyway since having a ShadowRoot with
no InsertionPoint means all your children don't render.

It also turns out that InsertionPoint::isShadowBoundary is identical to isActive.

R=morrita@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@154815 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Web Animations: Implement new fill-mode behavior

This change introduces the before, active and after animation phases, and removes the
scheduled and active states in favor of the in-play state.

Although the new fill-mode behavior wont be visible until animation groups are introduced,
implementing the new algorithms allows us to fix a bug. Previously the active time was
calculated incorrectly when a start delay was specified.
Spec change: https://dvcs.w3.org/hg/FXTF/rev/5544ee343a32

The procedure for calculating the active time for zero duration was also fixed after the
above change revealed that the formula was incorrect.
Spec change: https://dvcs.w3.org/hg/FXTF/rev/c8696c3d78d8

Unit tests were updated to cover the API changes and a new test was added to verify zero
duration cases.

BUG=240653

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

git-svn-id: svn://svn.chromium.org/blink/trunk@154816 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove internals.settings.setDialogElementEnabled

It's not needed because dialog is enabled by default for layout tests,
and switching dialog on/off between tests probably doesn't work as
expected (see "IDL/bindings question" on blink-dev, and ClusterFuzz
found a crash using it)

BUG=260284

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

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