Gardening: make timeline-decode-resize.html on Mac timeout not slow.

BUG=372213
TBR=ojan
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173882 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Move fill, stroke, justify-self, align-self, align-items out of oldApplyProperty

This patch moves the properties fill, stroke, justify-self, align-self
and align-items out of oldApplyProperty. I also added a FIXME for the
alignment properties which don't correctly set overflow-alignment mode
in inherit, initial and when it isn't explicitly specified.

BUG=237400

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173883 bbb929c8-8fbe-4397-9dbb-9b2b20218538
TestFix: fix timeline-auto-record.html test.

It had a race between timeline.stopeed event and initializeFrontend call of our test harness.
As a result sometimes it fails to add the collected output into the reloaded page just because completeTest has been called.

BUG=344238

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173885 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Oilpan: Prepare moving meter/progress/summary ua shadow dom elements to oilpan.

BUG=357163

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173886 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Gardening: mark fast/dom/DOMImplementation/createDocument-with-used-doctype.html as Slow.

BUG=372424
TBR=ojan
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173890 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Gardening: mark http/tests/security/dataURL/xss-DENIED-to-data-url-in-foreign-domain-subframe.html as flaky.

BUG=372425
TBR=ojan
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173893 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Fix toV8 with empty context in V8CustomSQLStatementErrorCallback.

BUG=369451

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173895 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Gardening: mark http/tests/security/dataURL/xss-DENIED-to-data-url-in-foreign-domain-window-open.html as flaky.

BUG=372428
TBR=ojan
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173896 bbb929c8-8fbe-4397-9dbb-9b2b20218538
HTML Imports: Make sure new imports being added to the "first child"

The notion of first child was introduced at r171966. That is,
The first import of import-tree order should take care of all
the subimports of the same URL.

This invariant is enforced by HTMLImportLoader::addImport()
but its implementation wasn't enough. This change extends it
so that the invariant enforcement is done against the subtree,
instead of just against the added node itself.

TEST=import-normalize-[123]{3}.html
R=dominicc@chromium.org,dglazkov@chromium.org
BUG=372055

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173900 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Support direction aware properties in the jinja2-based StyleBuilder

This patch adds support in the jinja2-based StyleBuilder for direction
aware properties. These are vendor-specific properties which map to
regular properties based on text direction and block flow direction.

BUG=237400

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173902 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Pass --force-compositing-mode for virtual/stable/webexposed.

This is the last virtual suite without the flag. The tests all pass
on linux.

R=enne
BUG=361729

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173903 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Gardening: rebaseline for virtual/windows-directwrite/

i.e.
virtual/windows-directwrite/fast/text/decorations-with-text-combine.html,
virtual/windows-directwrite/fast/text/international/rtl-white-space-pre-wrap.html,
virtual/windows-directwrite/fast/text/line-breaks.html,
virtual/windows-directwrite/fast/text/stroking-decorations.html,
virtual/windows-directwrite/fast/text/trailing-white-space-2.html,
virtual/windows-directwrite/fast/text/trailing-white-space.html

BUG=372516
TBR=ojan
NOTRY=true

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173904 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Stop the progress spinner when the main document is complete.

Added a call to tell the progress indicator that the load is complete
when the main frame reaches the completed state. This fixes the case
where the spinner keeps spinning until all activity has stopped even
after the onload event has fired.

This is taking the easy way out by not modifying the actual end state
tracked by the loader so it doesn't change any downstream behavior
(like all of the layout tests). It does mean that the progress
indicator will be told that the load is finished twice so that was
also modified to only process the first call but allow multiple calls.

BUG=123334

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173905 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Update window resize tests

- fixed two tests containing unrelated percentage width.
- added body margin:0 for some tests containing percentage lengths
  to make the results more readable after we optimize window resize
  repaint.
- made result of window-resize-viewport-percent.html platform
  independent.

BUG=258219

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173907 bbb929c8-8fbe-4397-9dbb-9b2b20218538
[FastTextAutosizer] Autosize lists in the first layout

This patch fixes a bug where lists were only autosized if there were
two layouts. FastTextAutosizer::inflateListItem is called before the
list item has entered layout and so the width will initially be zero.
The fix is to use the same trick tables use: use the containing block's
width.

BUG=363767

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173909 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Change HashMap declaration in ResourceLoadPriorityOptimizer to use UnsignedWithZeroKeyHashTraits.

Key values of 0 aren't allowed in HashMap with default traits, and we'll hit an assert in HashTable since
we just use the resource's identifier as key in the table.

BUG=369412

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173912 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Support skipping properties in the jinja2-based StyleBuilder

We skip a variety of properties in oldApplyProperty currently. For
example, unprefixed animation and transition properties get skipped as
in the parsing phase we also add prefixed variants to be applied. Some
of the properties (the skipped text-* ones) simply were never
implemented. I'll check at a later time why all these properties are
skipped since some are probably better marked as ASSERT_NOT_REACHED().

BUG=237400

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173915 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Don't show video fullscreen until DidEnterFullscreen() is called

For fullscreen video on android, We call showFullscreenOverlay() too early.
We should wait until DidEnterFullscreen() gets called, and then we should let the video element to request the surface view.
Otherwise, if enterFullscreenForElement fails, we will incorrectly showing the fullscreen video in the background.
This CL also removes the hideFullscreenOverlay() call since this is no longer needed.
When exiting fullscreen, video view will automatically be destroyed.

BUG=367346

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173917 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Reattach video layer to a higher hierarchy for overlay fullscren video

The current implementation reattaches video layer under the RenderView which
is a descendant of the scroll layer. In usual situation it is okay because
fullscreen elements are fixed positioned and compensated with scroll position.
For videos in an <iframe>, the layer can be wrongfully positioned because the
difference in scroll position.

This CL changes the video layer to reattach to under the root layer, and always
reset layer position to (0, 0).

BUG=362504

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

git-svn-id: svn://svn.chromium.org/blink/trunk@173918 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Update list of builders that garden-o-matic uses.

There are no longer any Perf builders on the chromium.webkit
waterfall and the Oilpan builders are not the responsibility
of the Blink gardeners to maintain.

NOTRY=true

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

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