Merge 181850 "DevTools: [Console] fix selection of all console m..."

> DevTools: [Console] fix selection of all console messages
> 
> It turns out that selection of all elements in console (aka Ctrl-A)
> works properly only if the last element in viewport DOM is a block
> element with some text.
> 
> BUG=410899
> R=vsevik
> 
> Review URL: https://codereview.chromium.org/564893002

TBR=lushnikov@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/branches/chromium/2125@182160 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Merge 180794 "DevTools: [CodeMirror] roll codemirror comment plugin"

> DevTools: [CodeMirror] roll codemirror comment plugin
> 
> The patch pulls upstream changes in comment addon that fix CSS
> commenting bug.
> 
> BUG=402411
> R=vsevik
> 
> Review URL: https://codereview.chromium.org/495353002

TBR=lushnikov@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/branches/chromium/2125@182161 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Merge 182021 "Clip iframe overflow controls."

> Clip iframe overflow controls.
> 
> Clips overflow controls via m_overflowControlsHostLayer.
> 
> BUG=406593
> 
> Review URL: https://codereview.chromium.org/564983003

TBR=vollick@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/branches/chromium/2125@182216 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Merge 181010 "Avoid layout when inserting unselected option element"

> Avoid layout when inserting unselected option element
> 
> BUG=406577
> 
> Review URL: https://codereview.chromium.org/503723002

TBR=keishi@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/branches/chromium/2125@182234 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Merge 181071 "WebViewImpl's hit tests should use setToShadowHost..."

> WebViewImpl's hit tests should use setToShadowHostIfInUserAgentShadowRoot.
> 
> This code in WebViewImpl never expects to end up inside a UA shadow root,
> so call setToShadowHostIfInUserAgentShadowRoot() after doing each hit test.
> 
> Unfortunately there's no obvious way to test context menus right now.
> 
> I also added a bunch of FIXME's related to parentNode() traversals inside
> WebViewImpl that are not ShadowDOM aware.
> 
> BUG=402026
> 
> Review URL: https://codereview.chromium.org/470803002

TBR=esprehn@chromium.org
BUG=402026

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

git-svn-id: svn://svn.chromium.org/blink/branches/chromium/2125@182262 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Merge 181676 "Revert "Don't layout when isSelfPaintingLayer() ch..."

> Revert "Don't layout when isSelfPaintingLayer() changes"
> 
> This reverts https://src.chromium.org/viewvc/blink?revision=173614&view=revision
> 
> Breaks going in and out of compositing mode for layers that are floated. There
> is logic that is reading the self painting layer bit when computing the overflow
> of elements inside layout and also when computing if floats should paint. My
> original patch was generally wrong, so many parts of layout are reading
> hasSelfPaintingLayer() inside layout.
> 
> BUG=411825
> 
> Review URL: https://codereview.chromium.org/556993002

TBR=esprehn@chromium.org
BUG=411825

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

git-svn-id: svn://svn.chromium.org/blink/branches/chromium/2125@182263 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Merge 181276 "Rebaseline fast/encoding/api/ascii-supersets.html."

ICU roll in 38 branch is being checked in at the same time.

> Rebaseline fast/encoding/api/ascii-supersets.html.
> 
> An ICU roll (Chromium #293034) fixed an issue.
> 
> TBR=jshin@chromium.org
> BUG=277062
> 
> Review URL: https://codereview.chromium.org/535793003

TBR=tkent@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/branches/chromium/2125@182265 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Merge 182174 "Don't include resources for the overlay pickers on..."

> Don't include resources for the overlay pickers on Android.
> 
> They are not being used on Android as the pickers have been implemented
> using the Android framework. This reduces the .pak size by ~162 KB.
> 
> BUG=414688
> 
> Review URL: https://codereview.chromium.org/570313003

TBR=peter@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/branches/chromium/2125@182325 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Merge 182079 "Fix sizing issue of svg as html image"

> Fix sizing issue of svg as html image
> 
> When a html img's src changes from one svg to another, previously the
> inner content rect is not correctly updated causing the second svg is
> not correctly sized. This is a regression caused by
> http://src.chromium.org/viewvc/blink?view=rev&revision=180015 which
> call updateInnerContentRect() only if replacedContentRect changes,
> missing the case of src change.
> 
> Now always call updateInnerContentRect() in RenderImage::layout()
> (as before the regression).
> 
> The issue only reproduced if the svg is loaded with http protocol.
> 
> BUG=412444
> TEST=http/tests/svg/image-size-on-src-change.html
> 
> Review URL: https://codereview.chromium.org/580453002

TBR=wangxianzhu@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/branches/chromium/2125@182343 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Merge 181848 "Replace default page scale limits in PageScaleCons..."

> Replace default page scale limits in PageScaleConstraintsSet.
> 
> This fixes crbug.com/411933 where overlay scrollbars in ChromeOS would show
> up on the new tab page even though they weren't needed. This was occurring
> because the page scale factor limits, though set in RenderViewImpl::Initialize,
> were ineffective until a layout occured since Blink's PageScaleConstraintsSet
> wouldn't have computed the final constraints. Thus, the limits used were Blink's
> default limits, set to hardcoded values in PageScaleConstraintsSet. This caused
> the scrollbar in the compositor to think the page was zoomed in and displayed
> the scrollbars.
> 
> This patch replaces the uncomputed final constraints with "all 1" values for
> minimum, maximum and initial scale, rather than using the (Android-specific)
> defaults.
> 
> BUG=411933
> 
> Review URL: https://codereview.chromium.org/567663002

TBR=bokan@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/branches/chromium/2125@182438 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Merge 182342 "Don't squash into RenderPart subclasses. Don't squ..."

> Don't squash into RenderPart subclasses. Don't squash into video elements.
> 
> BUG=409885
> 
> Review URL: https://codereview.chromium.org/575353002

TBR=chrishtr@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/branches/chromium/2125@182449 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Merge 181963 "DevTools: [SSP] consume event if it inserts a new ..."

> DevTools: [SSP] consume event if it inserts a new property
> 
> Currently, if you click on the selector container, there are two
> handlers that conflict with each other. The patch fixes
> the conflict.
> 
> BUG=413894
> R=vsevik, apavlov@chromium.org
> 
> Review URL: https://codereview.chromium.org/571653002

TBR=lushnikov@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/branches/chromium/2125@182475 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Merge 182113 "Fixing broken graphics layer culling with 2D canvas"

> Fixing broken graphics layer culling with 2D canvas
> 
> Currently, in cases where a canvas element's background cannot
> be direct-composited, opaque backgrounds fail to render. This
> is because the compositor thinks the canvas layer is opaque when
> it is actually its container that is opaque. The opacity logic
> was updated to correctly determine whether a canvas layer is
> opaque.
> 
> BUG=412718
> TEST=layout tests under compositing/draws-content + fast/canvas/bug412718.html
> 
> Review URL: https://codereview.chromium.org/569843002

TBR=junov@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/branches/chromium/2125@182500 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Merge 182445 "Yosemite: Don't show the default placeholder of NS..."

> Yosemite: Don't show the default placeholder of NSSearchFieldCell.
> 
> We need to call setCenteredLook:NO on Yosemite.
> This CL was inspired by WebKit r168870 by dino@apple [1].
> 
> [1] http://trac.webkit.org/changeset/168870
> 
> BUG=394714
> TEST=None for now; This change will be covered with existing tests
>     when we add Yosemite buildbot.
> 
> Review URL: https://codereview.chromium.org/586413002

TBR=tkent@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/branches/chromium/2125@182522 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Merge 182151 "Make FontFace ActiveDOMObject"

> Make FontFace ActiveDOMObject
> 
> This prevents V8 wrapper of FontFace objects from getting garbage
> collected while loading. This is necessary because the "loaded" attribute
> uses ScriptPromiseProperty and it needs the FontFace wrapper to be alive
> to deliver the Promise resolution/rejection.
> 
> BUG=413901
> TEST=fast/css/fontface-load-promise-after-gc.html
> 
> Review URL: https://codereview.chromium.org/574643002

TBR=ksakamoto@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/branches/chromium/2125@182543 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Merge 182386 "Line-height style shouldn't apply to option elements"

> Line-height style shouldn't apply to option elements
> 
> BUG=410316
> 
> Review URL: https://codereview.chromium.org/544473002

TBR=keishi@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/branches/chromium/2125@182550 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Merge 182426 "[DevTools] Add emulation presets for iPhone 6."

> [DevTools] Add emulation presets for iPhone 6.
> 
> BUG=415959
> 
> Review URL: https://codereview.chromium.org/585973002

TBR=dgozman@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/branches/chromium/2125@182588 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Merge 182490 "Revert of RenderBlock::layoutPositionedObjects sho..."

> Revert of RenderBlock::layoutPositionedObjects should use setNeedsPositionedMovementLayout (patchset #1 id:1 of https://codereview.chromium.org/414123006/)
> 
> Reason for revert:
> Reverting this change fixes stable blocking bug: https://crbug.com/413553
> 
> Original issue's description:
> > RenderBlock::layoutPositionedObjects should use setNeedsPositionedMovementLayout
> > 
> > This CL swiches RenderBlock::layoutPositionedObjects from using setNeedsLayout
> > to setNeedsPositionedMovementLayout, as indicated by the FIXME comment and
> > associated bug. The test failure mentioned in the bug is no longer a problem.
> > 
> > BUG=350756
> > 
> > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=179289
> 
> TBR=leviw@chromium.org,dsinclair@chromium.org,jchaffraix@chromium.org,abarth@chromium.org
> BUG=350756,413553
> 
> Review URL: https://codereview.chromium.org/598503002

TBR=alancutter@chromium.org
BUG=350756,413553,405830

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

git-svn-id: svn://svn.chromium.org/blink/branches/chromium/2125@182640 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Merge 181309 "[Worker] Stop all workers in Blink shutdown sequence"

> [Worker] Stop all workers in Blink shutdown sequence
> 
> Ensure all workers not to outlive the main thread.
> 
> BUG=374201,399803
> 
> Review URL: https://codereview.chromium.org/292173002

TBR=tzik@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/branches/chromium/2125@182647 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Merge 182309 "Should protect document in ProcessingInstruction::..."

> Should protect document in ProcessingInstruction::setXSLStyleSheet.
> 
> BUG=403276
> 
> Review URL: https://codereview.chromium.org/579133004

TBR=tasak@google.com

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

git-svn-id: svn://svn.chromium.org/blink/branches/chromium/2125@182660 bbb929c8-8fbe-4397-9dbb-9b2b20218538