Clean up RenderStyle's NonInheritedFlags

Lets drop the getters and rename the fields to use the modern style. I
didn't rename the noninherited_flags member on RenderStyle itself just
yet so this is a bit easier to review. I'll search and replace the
member in another patch.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177640 bbb929c8-8fbe-4397-9dbb-9b2b20218538
ScriptPromisePropertyTest: Invoke Oilpan GC in memory-related tests too.

BUG=391630

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177641 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Provide a way to install a prototype object of private scripts

In order to make HTMLMarqueeElement in Blink-in-JS workable, we need a way to install a prototype object of the marquee element when the marquee element is created (e.g., when HTMLElementFactory creates the marquee element).

This CL implements PrivateScriptRunner::installClass, which is a C++ API to install a prototype object of a given class.

The API is tested in PrivateScriptTest.

BUG=341031

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177642 bbb929c8-8fbe-4397-9dbb-9b2b20218538
close-code-and-reason.html is flakily timing out, not just slow.

BUG=391068
TBR=tyoshino@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177643 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Prepare Node::dumpStatistics() for oilpan

Bonus: + fix a compile error from AttributeCollection refactoring.

NOTRY because DUMP_NODE_STATISTICS is never enabled on any of the buildbots.
NOTRY=true
BUG=340522

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177644 bbb929c8-8fbe-4397-9dbb-9b2b20218538
history_reload.html sometimes fails with MISSING.

BUG=311301
TBR=pilgrim@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177645 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add a debug helper showLiveDocumentInstances()

This CL adds a debug helper function |showLiveDocumentInstances()|.
You can invoke this function from gdb, e.g)
> p showLiveDocumentInstances()
to display live WebCore::Document instances.

This is useful when debugging Document leaks.

WebLeakDetector is also modified to dump live document instances when reporting leaks.

BUG=None

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177646 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix description of 'offsetY'of Layer in protocol.json

BUG=None.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177647 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Address a few more flakinesses related to Ahem font.

overflow-scroll-rtl.html was an interesting case, because a wrong baseline
image (i.e. Ahem font not loaded) was checked in for this test. The image
is rebaselined to the correct one. The test is flaky nonetheless, so the test
expectation is also added.

BUG=392046
TBR=pilgrim@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177648 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Display property as specified on svg elements.

The computed display of svg elements should be as for other elements. For
svg:svg elements, they should behave as other replaced elements when styled
with inline-block, table-cell, etc. For svg elements inside the root svg
element, they still get a computed value for display as other elements,
although the rendering is the same for all display values different from
'none'.

This change aligns the behavior with that of Gecko.

This change makes it possible to remove the custom style building for
display.

R=pdr@chromium.org,fs@opera.com
BUG=391959

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177649 bbb929c8-8fbe-4397-9dbb-9b2b20218538
webaudio/realtimeanalyser-fft-scaling.html is flaky on all platforms.

BUG=392095
TBR=pilgrim@chromium.org,rtoy@chromium.org

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177650 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Blink does not respect input.selectionStart and input.selectionEnd for some cases

Blink does not respect the input.selectionStart and input.selectionEnd. When
input.selectionStart and input.selectionEnd is set and then value is set the blink
always shows the selection with caret at end of text. This patch removes this
bug by caching the selectionStart and selectionEnd in m_cachedSelectionStart
and m_cachedSelectionEnd and checking the cached selection while setting
input value.

This patch also removes the bug specifying that caret poistion is incompatible after updating value
IDL attribute of unfocused INPUT element. When the value IDL attribute is updated of unfocused 
INPUT element the caret moves at the end but other browser move the caret at the beginning of the value.
The other browsers move the caret to the end of the value only if the INPUT is focused. 
This patch removes this bug too.

BUG=367736, 133242

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177651 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Add statusbar with checkboxes to Layers3DView.

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

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177652 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[CSS Grid Layout] Avoid inserting grid items twice in the grid

Given a grid with one item wrapped by an anonymous block, every attempt to
insert a new grid item before that one will trigger a crash due to a double
call to RenderGrid::addChild for the new item, in the first one beforeChild
is the already present item while in the second is the anonymous block.

We should avoid inserting the new item in the grid twice by using similar
checks to the ones already present in RenderBlock.

BUG=313293

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177653 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[New Multicolumn] Support for paged overflow. (By mstensho).

This brings support for overflow-y:-webkit-paged-[xy] to the new
multicol implementation.

BUG=359976

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177654 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [CodeMirror] support multicursor actions in smartNewLineAndIndent

This patch fixes smartNewLineAndIndent command to support multicursor.
The block-indent-controller test was updated due to fix in editor-test.js and rebaselined to output "dots" instead of spaces for clarity.

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177655 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: [Console] noop instead of DOM rebuilding in certain cases.

This patch avoids DOM rebuilding if the set of viewported elements does
not change.

BUG=385029

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177656 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Initialize m_resourceAgent to zero in InspectorController constructor

BUG=391659

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177657 bbb929c8-8fbe-4397-9dbb-9b2b20218538
DevTools: Fix file systems list UI in settings.

BUG=391769

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

git-svn-id: svn://svn.chromium.org/blink/trunk@177658 bbb929c8-8fbe-4397-9dbb-9b2b20218538
use ForceSet instead of Set when setting properties with attributes

R=jochen@chromium.org

BUG=

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

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