DevTools: Re-land r174254 "DevTools: Move HelpScreenUntilReload.js from "components" into "main""

This patch incorporates a fix for generate_devtools_html.py

TBR=pfeldman

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

git-svn-id: svn://svn.chromium.org/blink/trunk@174289 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DeviceOrientation layout tests inlining

Inline the layout tests for device orientation inside the .html files,
remove the need for a separate script-tests dir for the .js files.

Also in create-event.html check for bubbles, cancelable

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

git-svn-id: svn://svn.chromium.org/blink/trunk@174290 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Simplify breakpoint manager ui locations handling.

TBR=sergeyv

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

git-svn-id: svn://svn.chromium.org/blink/trunk@174291 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: resolve layer owner nodes while importing layer tree from trace

Also, retain layer object instances when updating the same layer,
as we used to do with AgentLayers.

BUG=361045

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

git-svn-id: svn://svn.chromium.org/blink/trunk@174293 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix MaxCoefficient static variable value in Decimal.cpp

Fix MaxCoefficient static variable value in Decimal.cpp to match the Precision
and the corresponding comment. We use 18 as precision and the comment says
MaxCoefficient should be 18 '9's in hexadecimal. However, 0x16345785D89FFFF is
99999999999999999 (17 '9's), not 18 '9's. The right hexadecimal value should be
0XDE0B6B3A763FFFF.

R=tkent@chromium.org, yosin@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@174294 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add myself to the WATCHLIST for flexbox

R=ojan@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@174295 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert of Revert of Fix selection of label having control element. (https://codereview.chromium.org/290153002/)

Reason for revert:
The previously reverted behavior is actually correct and what we wanted.

BUG=148912,370859

Original issue's description:
> Revert of Fix selection of label having control element. (https://codereview.chromium.org/258933006/)
> 
> Reason for revert:
> Causes bug 370859
> 
> BUG=148912,370859
> TBR=keishi
> 
> Original issue's description:
> > Fix selection of label having control element.
> > 
> > Any click event on label goes to its control element. So, if
> > we tried to select the text inside label by dragging the mouse
> > or by double clicking on the text, it went to its control
> > element. This patch checks whether there is selection or not,
> > after the click is happened. If there is selection then do
> > nothing else continue.
> > 
> > New Layout test added:
> >  fast/forms/label/label-selection.html
> > 
> > BUG=148912
> > 
> > Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=173310
> 
> Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=174193

TBR=tkent@chromium.org,keishi@chromium.org,deepak.sa@samsung.com
NOTREECHECKS=true
NOTRY=true
BUG=148912,370859

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

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

git-svn-id: svn://svn.chromium.org/blink/trunk@174296 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add 'const' to the first parameter of offsetFromContainer

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

git-svn-id: svn://svn.chromium.org/blink/trunk@174297 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Remove ScriptValue(v8::Handle<v8::Value>, v8::Isolate*)

ScriptValue(v8::Handle<v8::Value>, v8::Isolate*) is deperecated and should be replaced with ScriptValue(ScriptState*, v8::Handle<v8::Value>).

BUG=357144
TBR=jochen

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

git-svn-id: svn://svn.chromium.org/blink/trunk@174299 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Get rid of RenderLayerCompositor::hasUnresolvedDirtyBits.

Instead, assert that we don't have unresolved dirty bits.
We still need to check m_needsToRecomputeCompositingRequirements,
but there's already FIXMEs to get rid of that. Once we
do, we can get rid of scheduleAnimationIfNeeded entirely,
making it so that we never schedule an extra animation as
a result of the compositing update itself.

BUG=354100

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

git-svn-id: svn://svn.chromium.org/blink/trunk@174300 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Don't paint below image's baseline unless it is selected.

We only need to paint below an inline image's baseline if it is selected,
otherwise we can just paint the image itself.

When an image's selection state changes we need to update the cached
paint rect if it has a layer, i.e. is positioned, so that the correct
area gets painted next time around. This was the 'real' fix for
http://webkit.org/b/22472 - note that the reduction there only ever failed because the image was relatively positioned.

BUG=238449

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

git-svn-id: svn://svn.chromium.org/blink/trunk@174301 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: simplify ImageBitmapTest heap clearing.

For ImageBitmapLiveResourcePriority, use a Persistent to hold onto a
local ImageBitmap object rather than set up and rely on a full stack
scan.

R=wibling@chromium.org,haraken@chromium.org,ager@chromium.org
BUG=

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

git-svn-id: svn://svn.chromium.org/blink/trunk@174302 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Deflake fast/loader/resource-request-callbacks.html.

Background images aren't guaranteed to start loading after
a setTimeout(0). Need to force a style recalc.

Also, update the test to remove the setTimeout(100). I don't
see what this was needed for and it makes the test slow.
And updated the number of expected resource requests. This
dropped when we removed js-test-post.js.

BUG=373072

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

git-svn-id: svn://svn.chromium.org/blink/trunk@174303 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Auto-rebaseline for r174263

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

BUG=371611
TBR=skobes@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@174305 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Auto-rebaseline for r174285

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

BUG=350840
TBR=andersr@opera.com

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

git-svn-id: svn://svn.chromium.org/blink/trunk@174306 bbb929c8-8fbe-4397-9dbb-9b2b20218538
ARM64 has 39-bits of address space.

We can do better than than current behaviour (which falls through to the 32-bit
path).

NOTRY=true
R=tsepez@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@174308 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Auto-rebaseline for r174301

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

BUG=238449
TBR=robhogan@gmail.com

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

git-svn-id: svn://svn.chromium.org/blink/trunk@174309 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Revert r174284 - "Hook up blink and v8 microtask suppression scopes."

This change caused failures on various debug bots downstream: browser_tests
on Mac, and interactive_ui_tests on Linux, and caused the blink roll to be
reverted.

TBR=jochen@chromium.org, adamk@chromium.org
BUG=374866

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

git-svn-id: svn://svn.chromium.org/blink/trunk@174310 bbb929c8-8fbe-4397-9dbb-9b2b20218538
IndexedDB: Deflake a couple of layout tests

These two tests - clone-exception.html and connection-leak.html - were
not doing the regular "delete before creating" dance, which caused them
to timeout flakily when run in repeated batches. Adding a deletion step
causes the flakiness to disappear.

BUG=374878
TBR=cmumford@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@174312 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[CSS Grid Layout] Replace <string> by <custom-ident> in grid-{area|column|row} syntax

Grid positioning properties no longer accept <string> values for
named grid lines as they did in previous versions of the specs. They
were first replaced by <ident> and since the beginning of 2014 they
should only accept <custom-ident>.

Updated the parser and the style resolver to this new syntax. Also
updated the tests accordingly.

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

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